about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* termview: Ensure that cursor is not part of a selectionSören Tempel2021-05-231-0/+6
| | | | | | | Otherwise, when typing a word directly after the output point selecting this word and attempting to delete it using backspace doesn't work. Seems to me, if text is selected Gtk treats the beginning of this selected test as the current cursor position.
* Unbind ctrl+vSören Tempel2021-05-231-0/+3
|
* Use relative importssterni2021-05-233-4/+4
| | | | | | | | | | Seems to make things easier when actually installing saneterm (or at least I wouldn't know how to make it work without relative or absoulte imports). However this breaks executing the __main__.py script directly which is replaceable by using python -msaneterm which seems fine. Preserving the __main__.py seems to only be possible using self modifying PYTHOPATH which is just ugly.
* Configure TermView input hintsSören Tempel2021-05-231-0/+2
|
* Implement support for retrieving terminal windows sizeSören Tempel2021-05-231-0/+27
| | | | | Even if TUIs are not supported, this is used by some applications (most notably) ls(1) for outputting text in multiple columns.
* termview: Use a monospaced fontSören Tempel2021-05-231-0/+1
| | | | | Required by application such as ls which assume that every printed character has the same width.
* Add ctrl+j bindingSören Tempel2021-05-231-0/+1
|
* Add binding for ctrl+hSören Tempel2021-05-231-0/+1
|
* DESIGN.md: Document cursor-specific handling of termios CCsSören Tempel2021-05-221-3/+5
|
* Ignore termios control characters if cursor is not at endSören Tempel2021-05-222-1/+11
| | | | | | | To me it seems somewhat unintuitive if ctrl+d causes VEOF if your cursor is not at the point where you would normally enter the next character. With this commit, all termios control keybindings are a NOPs in this case.
* termview: Split cursor_at_end method from backspaceSören Tempel2021-05-221-5/+6
|
* Rename input.py to keys.pySören Tempel2021-05-222-11/+13
| | | | Also move default control character mappings to this module.
* DESIGN.md: Document special VEOF handlingSören Tempel2021-05-221-1/+3
|
* terminal: Add support for VEOFSören Tempel2021-05-221-0/+4
|
* saneterm: Separate flush from __end_user_actionSören Tempel2021-05-221-12/+16
| | | | Useful for flushing buffer on VEOF.
* Preliminary support for scrollingSören Tempel2021-05-221-1/+5
|
* Move control key definition to dictionarySören Tempel2021-05-221-2/+8
|
* DESIGN.md: Mention canonical mode issues with interceptingSören Tempel2021-05-221-5/+8
|
* Add keybinding for VSUSP (ctrl+z)Sören Tempel2021-05-221-0/+1
|
* Generalize support for termios-keybindingsSören Tempel2021-05-223-13/+30
|
* Add comment regarding potential quirk of interrupt methodSören Tempel2021-05-221-0/+4
|
* DESIGN.md: InitializeSören Tempel2021-05-221-0/+85
| | | | Try to sort my own thoughts on handling of control characters.
* README.md: Fix typo (proposes → propose)Sören Tempel2021-05-201-1/+1
|
* README.md: Fix setuptools linkSören Tempel2021-05-201-1/+1
|
* TODO.txt: UpdateSören Tempel2021-05-201-5/+4
|
* README.md: Add usage sectionSören Tempel2021-05-201-0/+11
|
* Don't start shell with clean environmentSören Tempel2021-05-201-1/+2
|
* Read up-to 4096 bytes in handle_pty callbackSören Tempel2021-05-201-2/+1
|
* README.md: Fix typo adapted → adoptedSören Tempel2021-05-201-1/+1
|
* README.md: Minimal improvements to motivation sectionSören Tempel2021-05-201-8/+8
|
* README.md: Don't use “special” twice in the same sentenceSören Tempel2021-05-201-1/+1
|
* Check for HUP events on PTYSourceSören Tempel2021-05-201-3/+11
|
* README.md: Add demo gif demonstrating featuresSören Tempel2021-05-201-0/+2
|
* README.md: Use more exact selector in sample configurationSören Tempel2021-05-201-1/+1
|
* Fix argparse command argumentSören Tempel2021-05-201-1/+1
|
* README.md: Update a few linksSören Tempel2021-05-201-4/+4
|
* README.md: Add configuration sectionSören Tempel2021-05-201-2/+18
|
* Set widget name to allow saneterm-specific CSS stylingSören Tempel2021-05-201-2/+3
|
* README.md: Emphasize benefits of line-based approach in motivationSören Tempel2021-05-201-2/+5
|
* TermView: Don't go beyond last output_mark with backspaceSören Tempel2021-05-201-0/+10
|
* Make executed command configurable through argparseSören Tempel2021-05-201-1/+13
|
* README.md: Add related work sectionSören Tempel2021-05-201-0/+18
|
* Add reference to terminal-wg variable glyph size discussionSören Tempel2021-05-201-1/+2
|
* README.md: ExpandSören Tempel2021-05-161-3/+69
|
* README.md: Add text to installation sectionSören Tempel2021-05-161-1/+16
|
* Add support for ctrl+c to interrupt the program via sigintSören Tempel2021-05-163-1/+11
|
* Remove DEL_CHAR constant as it is now unusedSören Tempel2021-05-161-3/+0
|
* Add docstring comment to termview classSören Tempel2021-05-161-0/+18
|
* Simplify termview APISören Tempel2021-05-162-24/+13
|
* Remove now unused imports from terminal.pySören Tempel2021-05-161-2/+0
|