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

ALT modifier not evaluated on TERM=linux #551

Closed
francescomuia opened this issue Oct 5, 2021 · 2 comments
Closed

ALT modifier not evaluated on TERM=linux #551

francescomuia opened this issue Oct 5, 2021 · 2 comments

Comments

@francescomuia
Copy link

francescomuia commented Oct 5, 2021

In the unemulated terminal, TERM=linux, the modifier ALT or SHIFT is not recognized. This prevent to use scrolling.
I entered a few lines of logging and got the following output.

Oct 05, 2021 8:58:21 AM com.googlecode.lanterna.input.InputDecoder getNextCharacter
INFO: currentMatching [^[]
Oct 05, 2021 8:58:21 AM com.googlecode.lanterna.input.InputDecoder getNextCharacter
INFO: matching Matching{partialMatch=true, fullMatch=KeyStroke{keytype=Escape}}
Oct 05, 2021 8:58:21 AM com.googlecode.lanterna.input.InputDecoder getNextCharacter
INFO: currentMatching [^[, []
Oct 05, 2021 8:58:21 AM com.googlecode.lanterna.input.InputDecoder getNextCharacter
INFO: matching Matching{partialMatch=true, fullMatch=KeyStroke{keytype=Character, character='[', modifiers=[alt]}}
Oct 05, 2021 8:58:21 AM com.googlecode.lanterna.input.InputDecoder getNextCharacter
INFO: currentMatching [^[, [, B]
Oct 05, 2021 8:58:21 AM com.googlecode.lanterna.input.InputDecoder getNextCharacter
INFO: matching Matching{partialMatch=false, fullMatch=KeyStroke{keytype=ArrowDown}}
Oct 05, 2021 8:58:21 AM com.googlecode.lanterna.input.InputDecoder getNextCharacter
INFO: AFTER WHILE KeyStroke{keytype=ArrowDown}

@avl42
Copy link
Contributor

avl42 commented Oct 9, 2021 via email

@mabe02
Copy link
Owner

mabe02 commented Nov 2, 2021

Yeah, pretty much what @avl42 says :)

@mabe02 mabe02 closed this as completed Nov 2, 2021
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

No branches or pull requests

3 participants