source: libcaca/trunk/src/ceo.c @ 33

Last change on this file since 33 was 33, checked in by Sam Hocevar, 18 years ago
  • tab == hotkey for CEO alert.
File size: 304 bytes
Line 
1
2#include "common.h"
3
4void ceo_alert( void )
5{
6    char key;
7    int  end = 0;
8
9    while( !end )
10    {
11        clear_graphics();
12
13        if( get_key() == '\t' )
14        {
15            end = 1;
16        }
17
18        fprintf( stderr, "foo\n" );
19
20        refresh_graphics();
21
22        usleep( 40000 );
23    }
24}
Note: See TracBrowser for help on using the repository browser.