| Author |
how to use ncurses to delete a char on screen ?
|
|
|
| Hi all
I am writing a displayer class to adapter with ncurses's WINDOW* ,
when I use vs << KEY_BACKSPACE, I want delete a char.(just current line
maybe)
Do I have to write some bufferFrame to achieve that?
thank you very much.
key9
| |
| Sjoerd 2006-05-23, 7:16 am |
|
key9 wrote:
> I am writing a displayer class to adapter with ncurses's WINDOW* ,
> when I use vs << KEY_BACKSPACE, I want delete a char.(just current line
> maybe)
>
> Do I have to write some bufferFrame to achieve that?
You can delete a char by writing a space.
| |
| Thomas Dickey 2006-05-23, 7:16 am |
| Sjoerd <sjoerder@gmail.com> wrote:
> key9 wrote:
[vbcol=seagreen]
> You can delete a char by writing a space.
or delch()
It depends on what OP means by "delete a char".
--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
|
|
|
|