From d92ce0fc37be23cb5db06e7e7c5644218ea1e218 Mon Sep 17 00:00:00 2001 From: gwern0 Date: Sun, 21 Sep 2008 17:50:38 +0200 Subject: Paste.hs: +warning about ASCII limitations darcs-hash:20080921155038-f7719-02da6d343a804c468b107e17d989b1f73f895d98.gz --- XMonad/Util/Paste.hs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'XMonad/Util/Paste.hs') 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] -- cgit v1.2.3