mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-07-31 04:01:51 -07:00
Paste.hs: +warning about ASCII limitations
This commit is contained in:
@@ -58,6 +58,9 @@ pasteString = mapM_ (\x -> if isUpper x then pasteChar shiftMask x else pasteCha
|
||||
You would want to do something like:
|
||||
|
||||
> pasteChar shiftMask 'F'
|
||||
|
||||
Note that this function makes use of 'stringToKeysym', and so will probably
|
||||
have trouble with any Char outside ASCII.
|
||||
-}
|
||||
pasteChar :: KeyMask -> Char -> X ()
|
||||
pasteChar m c = sendKey m $ stringToKeysym [c]
|
||||
|
Reference in New Issue
Block a user