bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: stdout after endwin()


From: fgc13
Subject: Re: stdout after endwin()
Date: Mon, 23 Apr 2007 00:04:30 -0700 (PDT)

This is the code..

#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");

        sleep(5);
        move(3,2); printw("I COME BACK!!!!!!");
        refresh();
        sleep(5);

        endwin();
        echo();
        nocbreak();     
}
-- 
View this message in context: 
http://www.nabble.com/stdout-after-endwin%28%29-tf3627348.html#a10134838
Sent from the Gnu - Ncurses mailing list archive at Nabble.com.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]