[Dev-C++] How to ignore special characters on stdin?
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Christian S. <ca...@kr...> - 2003-04-28 16:16:22
|
hi there, as I stated before, I write a small console terminal for an application. up to now, I found great help from this list. so thanks for that! but now I encountered a new problem. I am reading my commands from stdin. but when you press an arrow key or alike, an escape sequence is printed on the screen, which anoys a lot. how can I prevent such behaviour, or (better) use these key for a small command history within my app? thanks a lot! /christian |