[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] TOSWIN2 and cursor keys



Ole, 09.02.2013 00:04:17:

Am Freitag, den 08.02.2013, 23:57 +0100 schrieb "Helmut Karlowski" <helmut.karlowski@ish.de>:
Ole, 08.02.2013 23:30:10:

but, I strongly feel that this isn't correct, because I believe the kernel or mintlib is returning something as 2 keycodes which shall be returned
 as a single one...

How do you think it should work otherwise?

 I thought a keycode is defined as long, or at least short (2 bytes...).

In fact an Esc-sequence can have any length, in xterm some are 8 bytes or even more. This is a problem for some programs, but it's not an issue here.

Try the helmut-kernel - it has up to 5 bytes long keycodes or so.

--
Helmut Karlowski