Ignore:
Timestamp:
Nov 19, 2003, 6:32:10 PM (19 years ago)
Author:
Sam Hocevar
Message:
  • src/io.c: + Renamed sdl_get_key() into sdl_get_event(). + Handle mouse clicks.
  • src/caca.c: + Activate the terminal's mouse handling if supported.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/src/caca.c

    r193 r199  
    9898    SLang_init_tty(-1, 0, 1);
    9999
     100    SLkp_define_keysym("\e[M", 1001);
     101
    100102    if(SLsmg_init_smg() == -1)
    101103    {
     
    108110    SLsmg_cls();
    109111    SLtt_set_cursor_visibility(0);
     112    SLtt_set_mouse_mode (1, 0);
    110113    SLsmg_refresh();
    111114
     
    292295{
    293296#if defined(USE_SLANG)
     297    SLtt_set_mouse_mode(0, 0);
    294298    SLtt_set_cursor_visibility(1);
    295299    SLang_reset_tty();
Note: See TracChangeset for help on using the changeset viewer.