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:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @Dovahkiin02 , |
Beta Was this translation helpful? Give feedback.
-
I've just committed a fix that should enable user keyboard handling on Linux platform as well (commit 17dafd8). |
Beta Was this translation helpful? Give feedback.
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...