Handles basic line-editing with the extended keyboard protocol and support for wide chars. Currently used by the unicode input kitten.