[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?


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

Follow-Ups:
Re: can Control+key code be sent by TerminalView.Input() like Alt+key can?Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>