plan9fox/acme/bin/source
kvik 8918bd5981 acme: implement 'scratch' ctl command (thanks Drew DeVault)
The new command marks the target window as a scratch window -- a window
whose state cannot be "dirtied" by changes made to its body, therefore
avoiding warnings about unsaved changes when deleting the window or
exiting acme.

Existing examples of scratch windows are error, directory, and guide
windows, whose scratchness is set internally.

With the new command users and programs alike can create their own
scratch windows.  This is put to use in acme's own win(1).
2020-05-31 22:39:46 +02:00
..
acd fill /acme 2011-04-14 17:27:24 +00:00
adict fill /acme 2011-04-14 17:27:24 +00:00
win acme: implement 'scratch' ctl command (thanks Drew DeVault) 2020-05-31 22:39:46 +02:00
mkfile fill /acme 2011-04-14 17:27:24 +00:00
mkwnew.c fill /acme 2011-04-14 17:27:24 +00:00
spout.c fill /acme 2011-04-14 17:27:24 +00:00