From d0d440860f2000a1560abb3f593cdc325fcead4c Mon Sep 17 00:00:00 2001 From: Roger Peppe Date: Tue, 19 Oct 2021 17:08:45 +0100 Subject: src/cmd/acme: provide info on presense or absence of undo history (#528) It's sometimes useful to know whether there's been editing activity in a window. This PR adds that information to the ctl file. Change-Id: I21a342ac636dd5c7701b3ed560e3526867329c2c --- man/man4/acme.4 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'man') diff --git a/man/man4/acme.4 b/man/man4/acme.4 index a285b3b8..f55a85b7 100644 --- a/man/man4/acme.4 +++ b/man/man4/acme.4 @@ -184,9 +184,10 @@ is always appended; the file offset is ignored. .B ctl may be read to recover the five numbers as held in the .B index -file, described above, plus three more fields: the width of the -window in pixels, the name of the font used in the window, -and the width of a tab character in pixels. +file, described above, plus five more fields: the width of the +window in pixels; the name of the font used in the window; +the width of a tab character in pixels; a 1 if there is undo history, 0 otherwise; +a 1 if there is redo history, 0 otherwise. Text messages may be written to .B ctl to affect the window. -- cgit v1.2.3