8918bd5981
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). |
||
---|---|---|
.. | ||
source | ||
adiff | ||
agrep | ||
ap | ||
aspell | ||
Battery | ||
guide | ||
ind | ||
Isspam | ||
new | ||
Perl | ||
quote | ||
README | ||
Spam | ||
unind | ||
Unspam | ||
win | ||
wnew |
The source directory should be called ./src instead of ./source, but this directory is bound into /bin and there is a command called src that the local directory would hide.