FTXUI
FTXUI copied to clipboard
How to check if current terminal supports TUI?
I compiled one of examples. It works on Windows 11 and 10. But in custom terminal program I can't use mouse and on windows 7 it prints random set of characters. How to check if current terminal supports TUI (to use standard console interface if not)? I want to make maximum cross-platform app so it is important to me.
Thanks for your patience!
FTXUI detects this for you, but you can also override the decision: https://github.com/ArthurSonzogni/FTXUI/blob/main/include/ftxui/screen/terminal.hpp#L17-L24
Microsoft terminals are known to be problematic.
What terminal are you using?
For example, it works in windows 10 and 11 terminal but it don't works at all in windows 7 terminal or in Console Portable