aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--XMonad/Util/Paste.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/XMonad/Util/Paste.hs b/XMonad/Util/Paste.hs
index 2e5fb49..e57e6e8 100644
--- a/XMonad/Util/Paste.hs
+++ b/XMonad/Util/Paste.hs
@@ -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]