Changeset 117b2ba for owl.c


Ignore:
Timestamp:
May 23, 2011, 8:57:46 PM (10 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
master, release-1.8, release-1.9
Children:
ba12b44
Parents:
dc1edbd
git-author:
David Benjamin <davidben@mit.edu> (02/28/11 10:15:58)
git-committer:
David Benjamin <davidben@mit.edu> (05/23/11 20:57:46)
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

    r08e9842 r117b2ba  
    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.