[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
can Control+key code be sent by TerminalView.Input() like Alt+key can?
[Thread Prev] | [Thread Next]
[Date Prev] | [Date Next]
- Subject: can Control+key code be sent by TerminalView.Input() like Alt+key can?
- From: Bruce Steers <bsteers4@xxxxxxxxx>
- Date: Wed, 1 May 2024 20:24:31 +0100
- To: Gambas Mailing List <user@xxxxxxxxxxxxxxxxxxxxxx>
To send an Alt+key code to TerminalView i do this..
for example Alt+u would simply be...
TerminalView1.Input("\eu")
and then in bash the current word is made uppercase from the cursor.
How would i do the same but with Control+u
I looked about and found some info
https://en.wikipedia.org/wiki/ANSI_escape_code#Terminal_input_sequences
I tried TerminalView1.Input("\e[117;5~")
and TerminalView1.Input("\e[5117")
and with Hex(117) 75
no worky :(
is it possible ?
Many thanks
BruceS
| Re: can Control+key code be sent by TerminalView.Input() like Alt+key can? | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |