How do I keep terminal output across site pages?
Persistent history is optional. Enable it only when commands and safe textual output must survive navigation between pages.
What works without it
The normal terminal keeps browser command history, and a floating iframe keeps its live state while it is merely hidden. Neither requires persistent server-side recording.
Enable persistence
Install history and run history -l on. The bounded transcript is stored in .lil.log.php and can be restored by another web-terminal window for the same installation.
Privacy and cleanup
Recording is off by default. Ordinary output may contain project data even though hidden secret prompts are excluded. Use history -l status to check it and history -l clear or history -l off when you no longer want the stored transcript.
Examples
install historyhistory -l onhistory -l statushistory -l clear