[Konsole-devel] [Bug 65067] Alt cursur/home/end sends 2x ESC + patch fixing this

Helge Deller deller at kde.org
Sun Nov 2 21:38:53 UTC 2003


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=65067     
deller at kde.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From deller at kde.org  2003-11-02 22:38 -------
Subject: kdebase/konsole/konsole

CVS commit by deller: 

fix bug #65067,
do not prefix key-sequences with an esc when alt (meta) is pressed for
keys which already send esc-sequences.
Thanks to Hans de Goede for the patch.
CCMAIL: 65067-done at bugs.kde.org


  M +2 -1      TEmuVt102.cpp   1.106


--- kdebase/konsole/konsole/TEmuVt102.cpp  #1.105:1.106
@@ -930,5 +930,6 @@ void TEmuVt102::onKeyPress( QKeyEvent* e
 
   if (cmd==CMD_send) {
-    if ((ev->state() & AltButton) && !metaspecified ) sendString("\033");
+    if ( (ev->state() & AltButton) && !metaspecified && !(len && txt[0]==27) )
+      sendString("\033");
     emit sndBlock(txt,len);
     return;



More information about the konsole-devel mailing list