Přemysl Eric Janouch
18d16c1edb
Add clang-format configuration, clean up
2 years ago
Přemysl Eric Janouch
ff08195973
Fix formatting
2 years ago
Přemysl Eric Janouch
279d010e0f
Fix a spurious "implicit fallthrough" warning
3 years ago
Přemysl Eric Janouch
8c4e867760
Fix strfkey with focus events
3 years ago
Přemysl Eric Janouch
0bfb13655c
Implement de/focus event parsing
...
So far there is no way to set it up, I'm not sure how to go about it.
3 years ago
Přemysl Eric Janouch
5b05b96ec0
Backport TERMKEY_FLAG_NOSTART and fix two leaks
...
...that are notably still present in the original library.
7 years ago
Přemysl Eric Janouch
a9b41e41b7
Fix use of an uninitialized value
7 years ago
Přemysl Eric Janouch
f7c67b2a2e
Add termo_str{f,p}key_utf8()
...
Adding back some original UTF-8 handling code.
7 years ago
Přemysl Eric Janouch
e13db07eac
Fix mouse mode 1005 support
7 years ago
Přemysl Eric Janouch
9ec09b90c9
Make ASCII NUL imply Ctrl-Space instead of C-@
...
Seems mostly arbitrary.
7 years ago
Přemysl Eric Janouch
ef29b7587d
Fix error handling in termo_strfkey()
...
If in any case snprintf() returned a negative value,
we would mishandle it.
8 years ago
Přemysl Eric Janouch
f05e40a30a
Don't interpret an n*<Esc> as (n-1)*<Alt>-<Esc>
8 years ago
Přemysl Eric Janouch
cd87fee243
Mark some issues
8 years ago
Přemysl Eric Janouch
298bc01ee2
Backport a change from libtermkey
...
"The Ctrl-H byte (0x08) shouldn't automatically become SYM_BACKSPACE"
8 years ago
Přemysl Eric Janouch
6352428e85
Qt Creator screwed up formatting
9 years ago
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.
9 years ago
Přemysl Eric Janouch
64188f1fcf
Revert "Don't bother with endianity"
...
It makes iconv() output the byte order mark first...
9 years ago
Přemysl Eric Janouch
f1f9a00cda
Add support for setting the mouse protocol
9 years ago
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).
9 years ago
Přemysl Eric Janouch
d9b20f7586
Alignment
9 years ago
Přemysl Eric Janouch
828f03a063
Get rid of most block comments
...
They're rather difficult to maintain.
9 years ago
Přemysl Eric Janouch
77878abe90
Renaming continued
9 years ago
Přemysl Eric Janouch
e98d9c0fd1
Rename to termo
9 years ago