Skip to content

Conversation

@milahu
Copy link

@milahu milahu commented Mar 16, 2021

preserve *all* the history

before, clear(true) removed the last part of the terminal history

now dont clear me should be visible when scrolling back

echo dont clear me; node -e "require('./')(true, true)"

edit: should be an extra option, sometimes its desired to keep no history
edit: done. added the option keepLastScreen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant