5b05b96ec0
Backport TERMKEY_FLAG_NOSTART and fix two leaks
...
...that are notably still present in the original library.
2016-12-30 08:30:59 +01:00
a9b41e41b7
Fix use of an uninitialized value
2016-11-03 02:36:40 +01:00
059cb81817
Try to fix terminfo loading
...
It could lead to crashing the PTY under OpenBSD and ncurses.
Fixed some unibiliums leaks while at it.
2016-11-03 02:36:35 +01:00
c1251f3978
Fix condition in demo-glib.c
2016-11-03 02:24:35 +01:00
258691135f
Use termo_str{f,p}key_utf8 in tests
...
No need to be locale dependent here.
2016-10-04 13:22:52 +02:00
f7c67b2a2e
Add termo_str{f,p}key_utf8()
...
Adding back some original UTF-8 handling code.
2016-10-04 13:21:45 +02:00
e13db07eac
Fix mouse mode 1005 support
2016-10-04 13:16:09 +02:00
4282f3715c
Fix cursor keys etc. in unibilium
...
unibi_pkey_xmit was the wrong constant.
2016-09-27 23:59:51 +02:00
9ec09b90c9
Make ASCII NUL imply Ctrl-Space instead of C-@
...
Seems mostly arbitrary.
2016-07-24 00:41:49 +02:00
9b7c801c37
Make unibilium work at all
2016-07-24 00:27:25 +02:00
1f2a32ed97
Fix README
2016-03-14 21:34:11 +01:00
b5c042e11f
Fix Travis CI notifications
2016-03-14 20:46:42 +01:00
1fd2cb3eaa
Try to fix Debian/Fedora build
2016-03-14 20:45:46 +01:00
783b744e8b
Try harder to get ncursesw
2016-01-14 20:19:13 +01:00
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
2a351b150d
Convert README to AsciiDoc
2015-09-27 01:26:24 +02:00
c03c56c740
Update and fix README
2015-09-27 01:20:11 +02:00
f05e40a30a
Don't interpret an n*<Esc> as (n-1)*<Alt>-<Esc>
2015-08-09 14:52:02 +02:00
0b5d8ecd0d
Fix xterm cursor key modifiers
2015-07-25 19:46:42 +02:00
128524cd2b
Fix compiler warnings in test 05read
2015-07-25 19:08:11 +02:00
cd87fee243
Mark some issues
2015-07-25 19:05:23 +02:00
dc7b9efd71
Make cursor keys work better
2015-07-25 19:05:00 +02:00
477f732bc3
Fix SS3 keysyms
2015-07-25 19:02:57 +02:00
d49fbadd67
Fix off-by-one bug
2015-05-28 20:16:55 +02:00
bc0a71f082
Finally fix all tests
...
While still supporting rxvt shifted keys.
2015-05-28 20:02:14 +02:00
be1cccd252
Mark an issue that breaks tests
2015-05-27 21:42:21 +02:00
c628a434f6
Fix the 31position test
2015-05-27 21:36:50 +02:00
3456e53a7d
Fix the 30mouse test
2015-05-27 21:31:04 +02:00
1023dd445a
CMakeLists.txt: build tests
2015-05-27 21:30:13 +02:00
11b4d7cb4f
Fix rxvt shifted keys and OOB array access
2015-05-26 21:59:44 +02:00
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
1ef250cd7e
Miscellaneous little changes
2015-04-11 18:58:14 +02:00
b1a0bca294
Travis CI: Try enabling Coverity scan
2015-02-14 22:54:42 +01:00
28bb257eeb
Add Travis CI configuration
2015-02-14 22:47:52 +01:00
a9c0ea0e07
Fix static linking into a shared library
2015-02-14 22:47:20 +01:00
af193ef483
Go with ncursesw if found
...
It'd be better if the user could choose the exact library, however this
change is actually necessary to support compilation on systems with
only the wide version's headers installed (hello Debian).
2014-11-30 00:37:17 +01:00
e8b9c654af
Mark a TODO
2014-11-30 00:36:18 +01:00
6352428e85
Qt Creator screwed up formatting
2014-11-19 03:37:54 +01:00
788b252407
Update the README
2014-11-19 03:19:13 +01:00
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
5a80bceec9
Make mouse data signed
...
Because urxvt can output zero coordinates, meaning -1.
2014-11-19 00:45:35 +01:00
b8337b5b18
demo-draw.c: app_data_t -> app_context_t
2014-11-19 00:44:53 +01:00
2f8a39ed64
Better support for rxvt input
2014-11-19 00:42:59 +01:00
64188f1fcf
Revert "Don't bother with endianity"
...
It makes iconv() output the byte order mark first...
2014-11-18 22:30:19 +01:00
f1f9a00cda
Add support for setting the mouse protocol
2014-10-22 22:23:01 +02:00
70bcfde021
Add a demo for drawing in curses
2014-10-22 22:22:26 +02:00
86025fcf6f
Rewrite termo_interpret_mouse()
2014-10-18 20:32:45 +02:00
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
d9b20f7586
Alignment
2014-10-18 19:11:08 +02:00
d70dd571d3
Fix build of the GLib demo
2014-10-14 23:20:55 +02:00