From 76c126655a50ca5c50672757c5d057669d08b590 Mon Sep 17 00:00:00 2001 From: Sören Tempel Date: Sat, 22 May 2021 00:46:24 +0200 Subject: DESIGN.md: Document cursor-specific handling of termios CCs --- DESIGN.md | 8 +++++--- 1 file 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 -- cgit 1.4.1