You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
211 B
Plaintext
8 lines
211 B
Plaintext
1 year ago
|
#!/bin/sh
|
||
|
# clear screen + scrollback buffer
|
||
|
|
||
|
ansi_erase_screen='\e[2J'
|
||
|
ansi_erase_saved_lines='\e[3J'
|
||
|
ansi_move_to_home_pos='\e[H'
|
||
|
printf "${ansi_erase_screen}${ansi_erase_saved_lines}${ansi_move_to_home_pos}"
|