Answer the question
In order to leave comments, you need to log in
How to write a console interactive application?
I want to write an interactive console application, i.e. so that it immediately occupies the entire screen, it has colors, it processes arrows and key combinations, and all that.
Examples of such applications:
- vi/vim
- top
- man
What's the problem:
- How to draw the whole screen at once in stdin/stdout?
- How to use colors in the console?
- How to intercept all key presses?
- How to make it cross-platform?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question