delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Message-ID: | <3C623FCD.2030601@maxi-tip.cz> |
Date: | Thu, 07 Feb 2002 09:50:21 +0100 |
From: | Igor Bujna <igor DOT bujna AT maxi-tip DOT cz> |
Organization: | =?ISO-8859-2?Q?S=E1zkov=E1=20kancel=E1=F8?= Maxi-tip a.s. |
User-Agent: | Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.8) Gecko/20020204 |
X-Accept-Language: | cs, en-us |
MIME-Version: | 1.0 |
To: | Christopher Faylor <cygwin AT cygwin DOT com> |
Subject: | Bug in ncurses??? |
X-Virus-Scanned: | by AMaViS perl-11 |
Hi , i have this test program in ncurses: ----------------------------------------------- #include <ncurses.h> int main(int argc, char **argv) { int ch,i; WINDOW *win[2]; initscr(); raw(); keypad(stdscr, TRUE); noecho(); cbreak (); /* When i this routines remove, on screen is nothing. WHY??? */ refresh(); win[0] = newwin(LINES, COLS / 2, 0, 0); win[1] = newwin(LINES, COLS / 2, 0, COLS / 2); for (i = 0; i < 2; i++) { wborder(win[i], '|', '|', '-', '-', '+', '+', '+', '+'); wprintw(win[i], "Ahoj!"); wrefresh(win[i]); } ch = getch(); refresh(); for (i = 0; i < 2; i++) delwin(win[i]); endwin(); return 0; } -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |