|
From: | Thomas Dickey |
Subject: | Re: Ncurses : scrollback functionality |
Date: | Mon, 26 Jul 2010 04:48:50 -0400 (EDT) |
On Fri, 23 Jul 2010, azzareld wrote:
Thanks for information. i tried following code but I don't understand the reason for wich I don't see any change in display. stdscr = initscr(); scrollok(stdscr, TRUE); cbreak(); keypad(stdscr, TRUE); pad = newpad(500, 120); waddstr(pad, "test"); prefresh(pad, 0, 0, 0, 0, 500, 120); getch();
getch reads (and refreshes) stdscr. wgetch(pad) may be what you meant. -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net
[Prev in Thread] | Current Thread | [Next in Thread] |