Is there really no glibc equivalent for getch() that handles the terminal mode for you? I ask only because I have often seen incorrect Windows answers on Stack Overflow, so when I look at an answer for a platform I'm unfamiliar with, I'm never sure:https://stackoverflow.com/questions/7469139/what-is-the-equivalent-to-getch-getche-in-linux …
-
Show this thread
-
Replying to @cmuratori
Not 100% on topic but you might find your answere here : https://github.com/antirez/linenoise …
@antirez1 reply 0 retweets 0 likes
Replying to @stephc_int13 @antirez
Pretty sure that just does the same thing everyone else does (including the Stack Overflow answer):https://github.com/antirez/linenoise/blob/97d2850af13c339369093b78abe5265845d78220/linenoise.c#L232 …
0 replies
0 retweets
1 like
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.