Commit Graph

17 Commits

Author SHA1 Message Date
Přemysl Eric Janouch a9b41e41b7
Fix use of an uninitialized value 2016-11-03 02:36:40 +01:00
Přemysl Eric Janouch f7c67b2a2e
Add termo_str{f,p}key_utf8()
Adding back some original UTF-8 handling code.
2016-10-04 13:21:45 +02:00
Přemysl Eric Janouch e13db07eac
Fix mouse mode 1005 support 2016-10-04 13:16:09 +02:00
Přemysl Eric Janouch 9ec09b90c9
Make ASCII NUL imply Ctrl-Space instead of C-@
Seems mostly arbitrary.
2016-07-24 00:41:49 +02:00
Přemysl Eric Janouch ef29b7587d Fix error handling in termo_strfkey()
If in any case snprintf() returned a negative value,
we would mishandle it.
2015-10-31 00:00:30 +01:00
Přemysl Eric Janouch f05e40a30a Don't interpret an n*<Esc> as (n-1)*<Alt>-<Esc> 2015-08-09 14:52:02 +02:00
Přemysl Eric Janouch cd87fee243 Mark some issues 2015-07-25 19:05:23 +02:00
Přemysl Eric Janouch 298bc01ee2 Backport a change from libtermkey
"The Ctrl-H byte (0x08) shouldn't automatically become SYM_BACKSPACE"
2015-04-11 18:58:24 +02:00
Přemysl Eric Janouch 6352428e85 Qt Creator screwed up formatting 2014-11-19 03:37:54 +01:00
Přemysl Eric Janouch 2d777dd67e Rewrite the mouse API
I wasn't aware of the fact that 1000, 1002 and 1003 are mutually
exclusive and turn each other off.

Also now it's not needed to set the protocol, it gets set by default.
2014-11-19 03:19:13 +01:00
Přemysl Eric Janouch 64188f1fcf Revert "Don't bother with endianity"
It makes iconv() output the byte order mark first...
2014-11-18 22:30:19 +01:00
Přemysl Eric Janouch f1f9a00cda Add support for setting the mouse protocol 2014-10-22 22:23:01 +02:00
Přemysl Eric Janouch 5ca6b7fb42 Don't bother with endianity
I hope this is correct... works for little endian (which is the odd one here).
2014-10-18 19:11:44 +02:00
Přemysl Eric Janouch d9b20f7586 Alignment 2014-10-18 19:11:08 +02:00
Přemysl Eric Janouch 828f03a063 Get rid of most block comments
They're rather difficult to maintain.
2014-10-14 21:19:20 +02:00
Přemysl Eric Janouch 77878abe90 Renaming continued 2014-10-14 00:24:47 +02:00
Přemysl Eric Janouch e98d9c0fd1 Rename to termo 2014-10-14 00:08:15 +02:00