
Hy, currently you cant paste into the Prompts by clicking the middle mouse button. Can somebody reproduce this or is it just my fault? Is it possible to add this feature? Thanks a lot -- Dominik Bruhn mailto: dominik@dbruhn.de

On Tue, 2008/03/25 17:25:57 +0100, Dominik Bruhn wrote:
currently you cant paste into the Prompts by clicking the middle mouse button. Can somebody reproduce this or is it just my fault?
I also cannot paste into the Prompts.
Is it possible to add this feature?
This would be nice. Also, a shortcut for Ctrl+V or Shift+Insert to paste from the clipboard would be handy.

On 2008.03.25 07:46:36 -1000, lithis
On Tue, 2008/03/25 17:25:57 +0100, Dominik Bruhn wrote:
currently you cant paste into the Prompts by clicking the middle mouse button. Can somebody reproduce this or is it just my fault?
I also cannot paste into the Prompts.
Is it possible to add this feature?
This would be nice. Also, a shortcut for Ctrl+V or Shift+Insert to paste from the clipboard would be handy.
Those shouldn't be too hard. The patch would look something like this: { hunk ./XMonad/Prompt.hs 319 + | ks == xK_v -> pasteString >> go hunk ./XMonad/Prompt.hs 326 + | mask == shiftMask = case () of + _ | ks == xK_Insert -> pasteString >> go + | otherwise -> eventLoop handle -- unhandled shift sequence } -- gwern Foster SIGDASYS cybercash zealand freedom destruction Magazine Satellite Terrorism resta

On 2008.03.25 17:25:57 +0100, Dominik Bruhn
Hy, currently you cant paste into the Prompts by clicking the middle mouse button. Can somebody reproduce this or is it just my fault? Is it possible to add this feature?
Thanks a lot -- Dominik Bruhn
Do you know about the C-y binding for pasting into a Prompt prompt? I gave binding 'button3' a little try, but I didn't have any success - there's type issues between Button and KeySym, and my hack around it didn't seem to actually work when I tried it. So I think you should ask Andrea for this feature if you want it; the current setup in Prompt.hs seems very keyboard-centric. -- gwern Foster SIGDASYS cybercash zealand freedom destruction Magazine Satellite Terrorism resta
participants (3)
-
Dominik Bruhn
-
gwern0@gmail.com
-
lithis