bug-ncurses
[Top][All Lists]
Advanced

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

Curses 5.3 pad problem


From: Nick Johnson
Subject: Curses 5.3 pad problem
Date: Tue, 17 Feb 2004 08:08:41 +1300
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4

Hi,

I've been unable to get pads working correctly in Curses 5.3.
The following problem runs fine on systems with curses 5.2, correctly displaying an '@' in the upper left before quitting, but on every system I have tried with curses 5.3, it fails to produce any output whatsoever. I can't help feeling I'm missing something - surely pads do still work in 5.3?

---Begin Code---
#include <ncurses.h>

int main() {
       WINDOW *w;
       initscr();
       w = newpad(256, 256);
       waddch(w, '@');
       prefresh(w, 0, 0, 0, 0, LINES, COLS);
       endwin();
}
---End Code---

-Nick Johnson




reply via email to

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