[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: can Control+key code be sent by TerminalView.Input() like Alt+key can?


Le 01/05/2024 à 21:24, Bruce Steers a écrit :

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


Yes, provided that someone writes the code to handle all the missing keyboard sequences in the 'TerminalFilter_VT100.InputTo()' method.

Regards,

--
Benoît Minisini.


References:
can Control+key code be sent by TerminalView.Input() like Alt+key can?Bruce Steers <bsteers4@xxxxxxxxx>