Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

with putty with linux, select and find are home and end #46

Open
jquast opened this issue Jan 22, 2015 · 0 comments
Open

with putty with linux, select and find are home and end #46

jquast opened this issue Jan 22, 2015 · 0 comments

Comments

@jquast
Copy link
Owner

jquast commented Jan 22, 2015

06:53 < Mercyful> i also noticed in putty with linux,, select and find are home and end..
06:53 < Mercyful> '\x1b[1~': code=362 name='KEY_FIND' -- Home
06:53 < Mercyful> '\x1b[4~': code=385 name='KEY_SELECT' -- End

In [1]: from blessed import Terminal

In [2]: term = Terminal('putty')

In [3]: term.inkey(esc_delay=10.0)
^[[1~
Out[3]: KEY_FIND

Related to #43 in that the solution might require some complexity, currently we unconditionally add many standard input patterns in addition to those found in termcap, which is necessary for many keystrokes -- however, we need to conditionally chose which terminal type entries should be augmented -- and by which values.

All such code is made in blessed/keyboard.py around the DEFAULT_SEQUENCE_MIXIN variable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant