Mercurial > pidgin
view finch/libgnt/test/key.c @ 27248:6271a72ba4f6
* Use our assert_string_equal() macro instead of fail_unless(strcmp(), NULL)
* Fix the test_markup_html_to_xhtml test by looking for <a href=""> instead of <a href=''> I guess we changed that function to use double quotes instead of single quotes?
* Add a test_mime_decode_field function (with only one test)
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 02 Jul 2009 08:24:51 +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; }