1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-16 20:55:44 +02:00

[240745][terminal] Pressing Ctrl+F1 in the Terminal should bring up context help

This commit is contained in:
Martin Oberhuber 2008-07-16 01:04:00 +00:00
parent f08d56ebdf
commit 17eb7cbc62

View file

@ -23,6 +23,7 @@
* Martin Oberhuber (Wind River) - [168197] Replace JFace MessagDialog by SWT MessageBox
* Martin Oberhuber (Wind River) - [204796] Terminal should allow setting the encoding to use
* Michael Scharf (Wind River) - [237398] Terminal get Invalid Thread Access when the title is set
* Martin Oberhuber (Wind River) - [240745] Pressing Ctrl+F1 in the Terminal should bring up context help
*******************************************************************************/
package org.eclipse.tm.internal.terminal.emulator;
@ -803,6 +804,11 @@ public class VT100TerminalControl implements ITerminalControlForText, ITerminalC
break;
case 0x100000a: // F1 key.
if ( (event.stateMask & SWT.CTRL)!=0 ) {
//Allow Ctrl+F1 to act locally as well as on the remote, because it is
//typically non-intrusive
event.doit=true;
}
sendString("\u001b[M"); //$NON-NLS-1$
break;