bin/shellplay in shellplay-0.1.5 vs bin/shellplay in shellplay-0.1.6

- old
+ new

@@ -31,13 +31,14 @@ end def display(screen) if screen.clearscreen if ENV['TERM_PROGRAM'] = 'iTerm.app' - printf "\e]50;ClearScrollback\a" + print "\e]50;ClearScrollback\a" else - printf "\e\143" + `clear` + print "\e[c" end end if screen.displaycommand if screen.customprompt print screen.customprompt @@ -96,9 +97,10 @@ command = STDIN.gets.strip case command when /^(?:q|x)$/ puts "\nPlay ended.\n" continue = false + exit when /^(?:\?|h)$/ usage when /^p$/ showprevious when /^s$/