about summary refs log tree commit diff
path: root/DESIGN.md
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2021-05-22 06:42:08 +0200
committerSören Tempel <soeren+git@soeren-tempel.net>2021-05-22 06:42:08 +0200
commitc76e79fc48903b51421a7b52e356218a87a72f4c (patch)
treee295ca3e0b042578aebc6d9fd5f3b58b759bc919 /DESIGN.md
parente3217333532c16f1586defe33fce52cd447c7388 (diff)
DESIGN.md: Document special VEOF handling
Diffstat (limited to 'DESIGN.md')
-rw-r--r--DESIGN.md4
1 files changed, 3 insertions, 1 deletions
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