Skip to content

keep *all* the history after full clear#8

Open
milahu wants to merge 2 commits into
bahamas10:masterfrom
milahu:keep-all-history
Open

keep *all* the history after full clear#8
milahu wants to merge 2 commits into
bahamas10:masterfrom
milahu:keep-all-history

Conversation

@milahu
Copy link
Copy Markdown

@milahu milahu commented Mar 16, 2021

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

should preserve the line dont clear me in the terminal history

edit: should be an extra option, sometimes its desired to keep no history

edit: added the option keepLastScreen

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

will keep "all the history" = history + last screen

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