Commit 645349a9 authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Clear last line in term-startup.sh before exit msg

parent 882dc02b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -26,7 +26,7 @@ _clear() { clear; echo; }

interact() {
	local STATE=ssh
	trap 'read -N1 -p "Press any key to exit"' EXIT
	trap 'echo; read -N1 -p "Press any key to exit"' EXIT
	while _clear && do_$STATE; do
		has do_$STATE || die "Unknown state: $STATE"
	done