Clear scrollback with sockhop -c/--clean option

Nathan L. Conrad 4 years ago
parent b4d9b2b346
commit 3885604221

@ -175,7 +175,7 @@ then
[[ $cmd = __fail__ ]] && exit 1 [[ $cmd = __fail__ ]] && exit 1
if (( clean )) if (( clean ))
then then
clear echo -n $'\e[3J' && clear
elif (( separator_required )) elif (( separator_required ))
then then
env -S "$shell" "$separator" "$@" || true env -S "$shell" "$separator" "$@" || true

Loading…
Cancel
Save