From c76e79fc48903b51421a7b52e356218a87a72f4c Mon Sep 17 00:00:00 2001 From: Sören Tempel Date: Sat, 22 May 2021 06:42:08 +0200 Subject: DESIGN.md: Document special VEOF handling --- DESIGN.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'DESIGN.md') diff --git a/DESIGN.md b/DESIGN.md index 7b9c576..ffd4764 100644 --- a/DESIGN.md +++ b/DESIGN.md @@ -77,7 +77,9 @@ The `saneterm` handlers also need to query the `termios(3)` setting on each Gtk signal to determine the current control character, which should be send to the PTY, using `termios(3)`. Additionally, the line buffer is bypassed on these signals and any data presently stored in it is -never received by the application. +never received by the application. In this regarding `VEOF` (ctrl+d) is +handled in a special way as it also causes the current line buffer to be +written to the PTY. [9term man page]: https://9fans.github.io/plan9port/man/man1/9term.html [gtk textbuffer]: https://developer.gnome.org/gtk3/stable/GtkTextBuffer.html -- cgit 1.4.1