console-clear
console-clear copied to clipboard
keep all the history
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