aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Util
diff options
context:
space:
mode:
authorgwern0 <gwern0@gmail.com>2008-09-21 17:50:38 +0200
committergwern0 <gwern0@gmail.com>2008-09-21 17:50:38 +0200
commitd92ce0fc37be23cb5db06e7e7c5644218ea1e218 (patch)
tree7a71bb209b0704db33145294a066ac5247443431 /XMonad/Util
parent3b932a6749c8171361ba735bc52a4cf83f5a6245 (diff)
downloadXMonadContrib-d92ce0fc37be23cb5db06e7e7c5644218ea1e218.tar.gz
XMonadContrib-d92ce0fc37be23cb5db06e7e7c5644218ea1e218.tar.xz
XMonadContrib-d92ce0fc37be23cb5db06e7e7c5644218ea1e218.zip
Paste.hs: +warning about ASCII limitations
darcs-hash:20080921155038-f7719-02da6d343a804c468b107e17d989b1f73f895d98.gz
Diffstat (limited to 'XMonad/Util')
-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]