ncurses.c
changeset 27 81a574d60c15
parent 9 c3fecc82ade6
child 45 7197576fedcf
equal deleted inserted replaced
26:d227047a3e88 27:81a574d60c15
    35 }
    35 }
    36 
    36 
    37 wchar_t fucnt (WINDOW * win)
    37 wchar_t fucnt (WINDOW * win)
    38 {
    38 {
    39     wchar_t guess;
    39     wchar_t guess;
       
    40 
    40     char dest[4];
    41     char dest[4];
       
    42 
    41     int maxx;
    43     int maxx;
       
    44 
    42     int maxy;
    45     int maxy;
    43 
    46 
    44     while (guess != ESCAPE) {
    47     while (guess != ESCAPE) {
    45         while ((get_wch (&guess)) != OK)
    48         while ((get_wch (&guess)) != OK)
    46             /*
    49             /*
    72 }
    75 }
    73 
    76 
    74 int main ()
    77 int main ()
    75 {
    78 {
    76     wchar_t x;
    79     wchar_t x;
       
    80 
    77     WINDOW *win;
    81     WINDOW *win;
    78 
    82 
    79     check_locale ();
    83     check_locale ();
    80     win = initscr ();
    84     win = initscr ();
    81     noecho ();
    85     noecho ();