mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-08-01 12:41:52 -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:
|
You would want to do something like:
|
||||||
|
|
||||||
> pasteChar shiftMask 'F'
|
> 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 :: KeyMask -> Char -> X ()
|
||||||
pasteChar m c = sendKey m $ stringToKeysym [c]
|
pasteChar m c = sendKey m $ stringToKeysym [c]
|
||||||
|
Reference in New Issue
Block a user