lib/shelr/recorder.rb in shelr-0.12.3 vs lib/shelr/recorder.rb in shelr-0.12.4
- old
+ new
@@ -15,16 +15,16 @@
def record!
check_record_dir
with_lock_file do
init_terminal
request_metadata
- STDOUT.puts "-=" * (Shelr.terminal.size[:width] / 2)
+ Shelr.terminal.puts_line
STDOUT.puts "=> Your session started"
STDOUT.puts "=> Please, do not resize your terminal while recording"
STDOUT.puts "=> Press Ctrl+D or 'exit' to finish recording"
system(recorder_cmd)
save_as_typescript if Shelr.backend == 'ttyrec'
- STDOUT.puts "-=" * (Shelr.terminal.size[:width] / 2)
+ Shelr.terminal.puts_line
STDOUT.puts "=> Session finished"
STDOUT.puts
STDOUT.puts "Replay : #{Shelr::APP_NAME} play last"
STDOUT.puts "Publish : #{Shelr::APP_NAME} push last"
end