8000 Default to old key handler by NattyNarwhal · Pull Request #39 · tn5250/tn5250 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Default to old key handler #39

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

8000
Merged
merged 3 commits into from
May 12, 2025
Merged

Conversation

NattyNarwhal
Copy link
Contributor

Instead of #36, at least for now. May want to cut 0.18 first before we remove it.

This might be disabled/enableed permamently in the future, just adding
for parity.
"old" key handling uses curses to handle special keys; "new" key
handling uses termcap to discover special keys and handles them itself.
I'm not sure why it does its own key handling, since the code is far
more complex and error prone - old and busted curses implementations,
perhaps?

The "old" key handling seems much simpler, and makes implementing things
like mouse support much easier. It seems wiser to default to this, since
modern terminals and curses implementations are much bettr about this
sort of thing.
@NattyNarwhal NattyNarwhal requested a review from kadler May 9, 2025 17:47
@kadler kadler merged commit cdb97d4 into tn5250:main May 12, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0