aboutsummaryrefslogtreecommitdiff
path: root/demo.c
Commit message (Collapse)AuthorAgeFilesLines
* Allow specifying terminal name in termo_new()term-stringPřemysl Janouch2016-09-271-1/+1
|
* Rewrite the mouse APIPřemysl Janouch2014-11-191-21/+18
| | | | | | | 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.
* Rename to termoPřemysl Janouch2014-10-141-27/+27
|
* CMake-ify, rename to termkey2 for the time beingPřemysl Janouch2014-10-091-1/+1
|
* Move to iconvPřemysl Janouch2014-09-281-9/+11
| | | | | | | | | | | That is the major change in this commit. Also Ctrl-modified keys now should work in URxvt, which was surprisingly trivial to achieve. Coming up next: - making sure the tests still work - introducing CMake
* WIP: Is mine now (^3^)Přemysl Janouch2014-09-231-107/+124
| | | | | | | | | | | | | | | | Seriously though, I've got some issues with how this thing is designed, as well as with its formatting, and when you add the fact that the original author wants to merge this thing into his bigger library that also handles terminal output, which I'll kindly leave to ncurses, it kind of makes sense for me to do this. Manpages have been removed as they are going to become obsolete and they're rather difficult to maintain. If anything, there will be Doxygen-generated documentation. The plan is to throw away any direct UTF-8 support and support all uni- and multibyte character encodings. However some unrelated refactoring is about to come first.
* Print UTF-8/RAW mode on startup; print 'Key ' before normal keys to debug ↵Paul LeoNerd Evans2014-01-231-1/+6
| | | | UTF-8 parse errors
* Handle ANSI and DEC mode report CSIsPaul LeoNerd Evans2012-11-301-1/+14
|
* Only recognise DECCPR as a position report, so it is distinct from F3Paul LeoNerd Evans2012-11-301-3/+3
|
* Have demo.c request cursor position on '?'; print position reports and mouse ↵Paul LeoNerd Evans2012-04-251-3/+21
| | | | nicer
* Allow setting mouse encoding protocol from demoPaul LeoNerd Evans2012-04-121-2/+11
|
* \e string escape is not portable; use \033Paul LeoNerd Evans2012-01-181-2/+2
|
* optarg and friends want _XOPEN_SOURCE 600, and <unistd.h> - Petr PavluPaul LeoNerd Evans2011-08-251-1/+4
|
* Provide a new result value, TERMKEY_RES_ERROR to indicate an IO error - ↵Paul LeoNerd Evans2011-08-181-6/+16
| | | | preserve errno
* demo.c needs to enable CTRLC flag to shut down mouse mode on exitPaul LeoNerd Evans2011-04-261-1/+1
|
* Renamed snprint_key() to strfkey(); provide redirection trampolinePaul LeoNerd Evans2011-03-311-1/+1
|
* Interpret space as Unicode by default, add a flag to make it symbolic insteadPaul LeoNerd Evans2011-03-231-1/+1
|
* Allow formatting the mouse position when rendering an event to a stringPaul LeoNerd Evans2009-11-271-1/+4
|
* Make demo enable mouse mode if given on commandlinePaul LeoNerd Evans2009-11-241-1/+27
|
* Renamed all type names to CamelCaseNames for visual distinctness, separate ↵Paul LeoNerd Evans2009-07-151-3/+3
| | | | from variables/functions
* Linefeed properly in main() in demo filesPaul LeoNerd Evans2008-12-081-1/+2
|
* Added compile-vs-runtime library version checksPaul LeoNerd Evans2008-11-161-0/+2
|
* Gracefully handle constructor failure rather than SEGVPaul LeoNerd Evans2008-10-091-0/+5
|
* Adjustment to demo.c; just print the vim style formatPaul LeoNerd Evans2008-10-081-3/+1
|
* Added TERMKEY_FORMAT_WRAPBRACKETPaul LeoNerd Evans2008-10-061-8/+4
|
* Added two more formatting options; CARETCTRL and ALTISMETAPaul LeoNerd Evans2008-10-061-1/+3
|
* Added termkey_snprint_key() to render nice string outputs of key eventsPaul LeoNerd Evans2008-08-211-24/+6
|
* Reworked events to be type/code/mod rather than flags/code/mod; make F[n] ↵Paul LeoNerd Evans2008-08-211-6/+19
| | | | keys their own (parametric) type, rather than using keysyms for them
* Cope correctly with XTerm's modified Unicode reporting of Ctrl-C for terminationPaul LeoNerd Evans2008-02-231-2/+2
|
* Renamed describe_sym to get_keynamePaul LeoNerd Evans2008-02-231-3/+1
|
* Moved termios magic out of demo.c into termkey.c where it belongsPaul LeoNerd Evans2008-02-231-18/+1
|
* Implemented termkey_free()Paul LeoNerd Evans2008-02-231-0/+2
|
* More termios settings on startup, to ensure reporting of signal, flow ↵Paul LeoNerd Evans2008-02-231-1/+2
| | | | control, and NL/CR keys
* Nicer names for modifiers on printed outputPaul LeoNerd Evans2008-02-231-6/+6
|
* Reworking of CSI/SS3/CSIfunc recognition; use registered numbers + names for ↵Paul LeoNerd Evans2008-02-071-2/+2
| | | | keys, rather than hardcoded
* Denote general status with return codes, not special key symbolsPaul LeoNerd Evans2008-02-071-1/+2
|
* Initial attemptPaul LeoNerd Evans2008-02-071-0/+47