Mercurial > pidgin
view finch/libgnt/test/key.c @ 17019:a0ab4040a857
merge of '39d6b45f621cf10ca62fd25c946907b85626476f'
and 'c6c43439075d966d927b8a85f6934e02c0d2bb1e'
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Fri, 11 May 2007 00:39:50 +0000 |
parents | 0e3a8505ebbe |
children | f104e1d45d85 |
line wrap: on
line source
#include <ncurses.h> int main() { int ch; initscr(); noecho(); while ((ch = getch())) { printw("%d ", ch); refresh(); } endwin(); return 0; }