CliLocalTerminalSession with cin help #173
|
I'm trying to read an input string from the command line. It works fine with CliFileSession but when I use CliLocalTerminalSession the text the user types in becomes invisible on the command line. What am I doing wrong? Here is my code: |
Replies: 2 comments
|
Hi @Dovahkiin02 , |
|
I've just committed a fix that should enable user keyboard handling on Linux platform as well (commit 17dafd8). |
Hi @Dovahkiin02 ,
the library is not intended to be used with other user input except the one managed by the library itself.
This means that when using CLI library the handlers must not contain blocking instructions such as
std::getline,std::getch, and so on...