Changeset 567de81


Ignore:
Timestamp:
Mar 25, 2011, 3:55:41 AM (14 years ago)
Author:
David Benjamin <davidben@mit.edu>
Children:
2314693
Parents:
f3b5dc8
git-author:
David Benjamin <davidben@mit.edu> (02/28/11 10:15:58)
git-committer:
David Benjamin <davidben@mit.edu> (03/25/11 03:55:41)
Message:
Move owl_process_input_char to owl.c

It would be nice to move some functions out of there too, but it really
makes no sense in select.c.
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • owl.c

    rf3b5dc8 r567de81  
    296296  NULL
    297297};
     298
     299void owl_process_input_char(owl_input j)
     300{
     301  int ret;
     302
     303  owl_global_set_lastinputtime(&g, time(NULL));
     304  ret = owl_keyhandler_process(owl_global_get_keyhandler(&g), j);
     305  if (ret!=0 && ret!=1) {
     306    owl_function_makemsg("Unable to handle keypress");
     307  }
     308}
    298309
    299310void owl_process_input(const owl_io_dispatch *d, void *data)
  • select.c

    rb929e35 r567de81  
    299299}
    300300
    301 void owl_process_input_char(owl_input j)
    302 {
    303   int ret;
    304 
    305   owl_global_set_lastinputtime(&g, time(NULL));
    306   ret = owl_keyhandler_process(owl_global_get_keyhandler(&g), j);
    307   if (ret!=0 && ret!=1) {
    308     owl_function_makemsg("Unable to handle keypress");
    309   }
    310 }
    311 
    312301void owl_select_init(void)
    313302{
Note: See TracChangeset for help on using the changeset viewer.