summaryrefslogtreecommitdiff
path: root/src/tty_interface.c
Commit message (Collapse)AuthorAge
* fix acceptance testsOndrej Martinek2019-12-27
|
* show selection info (with -i option)Ondrej Martinek2019-12-27
|
* Merge pull request #125 from gpanders/ctrl-g-exitJohn Hawthorn2019-12-27
|\ | | | | Cancel with Ctrl-G
| * Cancel with Ctrl-GGreg Anders2019-10-13
| |
* | Avoid VLA in tty_interfaceJohn Hawthorn2019-12-27
|/
* Add ability to use null as input delimiter.Ashkan Kiani2019-08-16
| | | | | Update tty to print newline as space Add tty_putc
* Use do {} while in action_del_charJohn Hawthorn2018-09-23
|
* Remove unnecessary check from action_del_charJohn Hawthorn2018-09-23
|
* Redraw on signalsJohn Hawthorn2018-09-23
|
* Allow masking signals in tty_input_readyJohn Hawthorn2018-09-23
|
* Pass a timeout to tty_input_readyJohn Hawthorn2018-09-23
|
* Merge branch 'abort_on_escape'John Hawthorn2018-09-09
|\
| * Abort if Esc is pressedJason Felice2018-05-04
| |
* | Fix formattingJohn Hawthorn2018-09-09
| |
* | Disable line wrap when printing candidatesJohn Hawthorn2018-09-09
| | | | | | | | | | This solves the line wrapping issue with much simpler code, which also works better with Unicode characters and when the terminal is resized.
* | Merge pull request #77 from syrrim/uniJohn Hawthorn2018-09-09
|\ \ | | | | | | Add utf-8 support to input, fixes #21
| * | add utf-8 support to input, fixes #21syrrim2018-04-23
| |/ | | | | | | | | | | - non ascii bytes won't be ignored - one can seek over and delete whole utf-8 codepoints at a time - the cursor will be positioned properly around double width chars
* | Add support for underlining selected itemMichael Mackus2018-07-18
| |
* | tty_interface: Fix comments about CTRL-J and CTRL-KJonathan Neuschäfer2018-06-17
|/ | | | Fixes: 5a3ce8b ("Support movement with CTRL-J/CTRL-K")
* Merge pull request #71 from tgeng/masterJohn Hawthorn2018-04-21
|\ | | | | Support cursor jumping with Home and End keys
| * Fix home/end support on MacTianyu Geng2018-03-19
| |
| * Support cursor jumping with Home and End keysTianyu Geng2018-02-05
| |
* | tty_interface: Don't show score if it doesn't fitJonathan Neuschäfer2018-01-24
|/
* Rewrite cursor implementationJohn Hawthorn2017-10-16
| | | | | | | Index the cursor from the beginning instead of the end, which is easier (at least for me) to think about. This also fixes issues with Ctrl-W in the previous implementation.
* Merge pull request #46 from keith/ks/arrow-keysJohn Hawthorn2017-10-07
|\ | | | | Support arrow key movements
| * Support arrow key movementsKeith Smiley2017-08-13
| |
* | Fix line maximum line length when scores are shownJonathan Neuschäfer2017-09-24
|/
* Ignore bracketed paste charactersKeith Smiley2017-08-13
|
* Support movement with CTRL-J/CTRL-KMichael Stock2017-01-17
|
* Fix tty_interface clear for num_lines=0John Hawthorn2016-12-28
|
* Fix a problem that the cursor position shifted upwardmomotaro2016-12-21
|
* Add a few missing static declarationsJohn Hawthorn2016-07-12
|
* Fix segfault when autocompleting on no matchesJohn Hawthorn2016-07-12
|
* Use score_t instead of doubleJohn Hawthorn2016-07-10
|
* Batch together input for searchesJohn Hawthorn2016-06-22
|
* Add pageup and pagedownJohn Hawthorn2016-06-22
|
* Use a struct to store keybindingsJohn Hawthorn2016-06-22
|
* Extract append_search methodJohn Hawthorn2016-06-22
|
* Move all action into their own functionsJohn Hawthorn2016-06-20
|
* Track last searchJohn Hawthorn2016-06-20
| | | | This allows us to avoid explicitly calling out to choices_search
* Use tty_interface_t to communicate exitJohn Hawthorn2016-06-20
|
* Return exit code from runJohn Hawthorn2016-06-20
|
* Use tty_interface_t throughoutJohn Hawthorn2016-06-19
|
* Store state in tty_interface_tJohn Hawthorn2016-06-19
|
* Extract tty interface to own fileJohn Hawthorn2016-06-19