mirror of
https://github.com/RGBCube/nu_scripts
synced 2025-08-01 22:57:46 +00:00
clear screen buffer via ansi commands (#158)
This commit is contained in:
parent
90a6d6de05
commit
8b03a86407
1 changed files with 8 additions and 0 deletions
8
engine-q/cool_oneliners/clear_screen_buf.nu
Normal file
8
engine-q/cool_oneliners/clear_screen_buf.nu
Normal file
|
@ -0,0 +1,8 @@
|
|||
### This clears out your screen buffer on a default mac terminal
|
||||
### currently there is no way to do that in nushell
|
||||
|
||||
def cls [] {
|
||||
ansi cls
|
||||
ansi home
|
||||
ansi clsb
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue