comparison console/libgnt/gntmain.c @ 15801:682022b8a129

Make sure unbound key-combinations are handled properly.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Fri, 16 Mar 2007 20:53:24 +0000
parents 567097a973c6
children 94867b2f38f5
comparison
equal deleted inserted replaced
15796:1dee9065e336 15801:682022b8a129
358 initscr(); 358 initscr();
359 typeahead(-1); 359 typeahead(-1);
360 noecho(); 360 noecho();
361 curs_set(0); 361 curs_set(0);
362 362
363 gnt_init_keys();
363 gnt_init_styles(); 364 gnt_init_styles();
364 365
365 filename = g_build_filename(g_get_home_dir(), ".gntrc", NULL); 366 filename = g_build_filename(g_get_home_dir(), ".gntrc", NULL);
366 gnt_style_read_configure_file(filename); 367 gnt_style_read_configure_file(filename);
367 g_free(filename); 368 g_free(filename);
368 369
369 gnt_init_colors(); 370 gnt_init_colors();
370 gnt_init_keys();
371 371
372 wbkgdset(stdscr, '\0' | COLOR_PAIR(GNT_COLOR_NORMAL)); 372 wbkgdset(stdscr, '\0' | COLOR_PAIR(GNT_COLOR_NORMAL));
373 refresh(); 373 refresh();
374 374
375 #ifdef ALL_MOUSE_EVENTS 375 #ifdef ALL_MOUSE_EVENTS