mte/unikernel/duniverse/dune_/doc/reference/config/terminal_persistence.rst
2025-11-11 02:07:51 +01:00

17 lines
489 B
ReStructuredText

terminal-persistence
--------------------
Specifies how Dune handles the terminal when a rebuild is triggered in watch mode.
.. code:: dune
(terminal-persistence <setting>)
where ``<setting>`` is one of:
- ``preserve`` does not clear the terminal screen between rebuilds.
- ``clear-on-rebuild`` clears the terminal screen between rebuilds.
- ``clear-on-rebuild-and-flush-history`` clears the terminal between rebuilds, and
it also deletes everything in the scrollback buffer.