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:
parent
f08d56ebdf
commit
17eb7cbc62
1 changed files with 6 additions and 0 deletions
|
@ -23,6 +23,7 @@
|
||||||
* Martin Oberhuber (Wind River) - [168197] Replace JFace MessagDialog by SWT MessageBox
|
* Martin Oberhuber (Wind River) - [168197] Replace JFace MessagDialog by SWT MessageBox
|
||||||
* Martin Oberhuber (Wind River) - [204796] Terminal should allow setting the encoding to use
|
* 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
|
* 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;
|
package org.eclipse.tm.internal.terminal.emulator;
|
||||||
|
|
||||||
|
@ -803,6 +804,11 @@ public class VT100TerminalControl implements ITerminalControlForText, ITerminalC
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 0x100000a: // F1 key.
|
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$
|
sendString("\u001b[M"); //$NON-NLS-1$
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue