diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2021-05-22 00:46:24 +0200 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2021-05-22 00:46:24 +0200 |
commit | 76c126655a50ca5c50672757c5d057669d08b590 (patch) | |
tree | dc5536c67c10d021366f4f77ae12babf3a272821 /DESIGN.md | |
parent | f2b43fb3068f719aa2343fc7ab1d394ce58c62db (diff) |
DESIGN.md: Document cursor-specific handling of termios CCs
Diffstat (limited to 'DESIGN.md')
-rw-r--r-- | DESIGN.md | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/DESIGN.md b/DESIGN.md index ffd4764..c264a2e 100644 --- a/DESIGN.md +++ b/DESIGN.md @@ -45,9 +45,11 @@ Presently, `saneterm` implements the latter approach. That is, custom [Gtk signals][gtk signals] are defined for control commands, e.g. `interrupt` for ctrl+c. These signals are then bound to pre-defined key combinations, i.e. the `interrupt` signal is bound to `ctrl+c`. The -signal handler for the `interrupt` signal then determines the current ASCII -control character for `VINTR` using `termios(3)` and sends this -character to the PTY. +signal handler for the `interrupt` signal then determines the current +ASCII control character for `VINTR` using `termios(3)` and sends this +character to the PTY. At the moment, these key bindings are ignored if +the cursor is not at the buffer position where the next character would +be entered. ### Buffering |