Miciah Dashiel Butler Masters <[EMAIL PROTECTED]> writes: > How about a separate routine to convert from interlink_event > to term_event?
For EVENT_KBD, the conversion from interlink_event to term_event can be many-to-many if CONFIG_UTF_8 is not defined. I don't think it would be a good idea to make handle_interlink_event take an interlink_event and pass it to the new routine and then process the resulting term_events. Another option would be to rename handle_interlink_event to handle_term_event and define a new handle_interlink_event that calls it. But I don't think enough code would be left in handle_term_event to make it worthwhile. The situation will be different if some future version supports multiple interlink protocols in parallel.
pgpEUgHW65Mm3.pgp
Description: PGP signature
_______________________________________________ elinks-dev mailing list [email protected] http://linuxfromscratch.org/mailman/listinfo/elinks-dev
