view finch/libgnt/test/key.c @ 18783:6cfaee88c72b

Remove message-pending.png pixmap and use the message-new.png pixmap in its place. The message-pending.png pixmap is the ugly envelope pixmap that was used in the blist menu tray and as the status icon on contacts for unread/hidden conversations. If someone thinks we need a different icon for this, feel free to disapprove.
author Casey Harkins <charkins@pidgin.im>
date Thu, 02 Aug 2007 18:40:59 +0000
parents f104e1d45d85
children
line wrap: on
line source

#include <ncurses.h>

int main()
{
	int ch;

	initscr();
	noecho();
	cbreak();
	refresh();

	WINDOW *win = newpad(20, 30);
	box(win, 0, 0);
	prefresh(win, 0, 0, 0, 0, 19, 29);
	doupdate();

	while ((ch = getch())) {
		printw("%d ", ch);
		refresh();
	}

	endwin();
	return 0;
}