Changeset 567de81 for owl.c


Ignore:
Timestamp:
Mar 25, 2011, 3:55:41 AM (13 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.
File:
1 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)
Note: See TracChangeset for help on using the changeset viewer.