|
From: | Thomas Dickey |
Subject: | Re: stdout after endwin() |
Date: | Mon, 23 Apr 2007 06:56:35 -0400 (EDT) |
On Mon, 23 Apr 2007, fgc13 wrote:
#include <unistd.h> #include <curses.h> #include <stdio.h> int main() { initscr(); noecho(); cbreak(); clear(); move(2,2); printw("HELLO IN NCURSES!!!!!!"); refresh(); sleep(5); endwin(); echo(); nocbreak(); fprintf(stdout, "This next is no printing in tty!!!\n");
fflush(stdout); -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net
[Prev in Thread] | Current Thread | [Next in Thread] |