bin/shellrecord in shellplay-0.0.6 vs bin/shellrecord in shellplay-0.0.7
- old
+ new
@@ -85,10 +85,10 @@
'displaycommand' => displaycommand,
'playprompt' => playprompt,
'clearscreen' => clearscreen,
'customprompt' => customprompt,
'stdin' => command,
- 'stdout' => out.chomp,
+ 'stdout' => out.gsub(/\\e/,27.chr).chomp,
'stderr' => '',
'timespent' => 0
})
else
start_time = Time.now