Skip to content
Discussion options

You must be logged in to vote

CConsole in canonic mode is a line editor, you cannot move on the whole screen with it. Some special keys (e.g. cursor up and down) have no function in the line editor, but are also not filtered out. There is no buffer, which holds the character codes for all character on screen. So you cannot read them back. If you want this, you have to implement it by yourself. You should switch the console to non-canonic and non-echo mode for this purpose.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@zsdz
Comment options

@zsdz
Comment options

Answer selected by zsdz
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants