(For reference, Windows CRTs have getch() and getche(), both still supported via conio.h, even though support for most of conio.h's functionality has been removed)
-
-
Show this threadThanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
It's as though there were no console applications on Linux.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
For things like this you're generally expected to use curses.
- Show replies
New conversation -
-
-
It would butthurt linux devs feeling if they ever port anything useful from windows to linux world ;)
-
I don't know about that. They definitely have incorporated a lot of the Windows kernel ideas.
End of conversation
New conversation -
-
-
Not 100% on topic but you might find your answere here : https://github.com/antirez/linenoise …
@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 …
End of conversation
New conversation -
-
-
That sort of functionality is in curses. Not part of c stdlib because it’s very terminal specific functionality (or at least used to be).
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
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.