Bash faster `reset`
I've been using reset
as a stapple for really clearing my terminals screen for a long time and I was getting sick of it taking over a second.
I located a SO answer that set me stright, and its a little more to type, but for the time saved, and the simplicity of the command, I'm sold.
printf '\ec'
Simple, expressive; \e
generates an escape character, and c
is the VTE escape sequence to trigger a buffer clear.
Written by Dylan Grafmyre
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Reset
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#