lib/ayadn/post.rb in ayadn-1.7.6 vs lib/ayadn/post.rb in ayadn-1.7.7

- old
+ new

@@ -81,10 +81,11 @@ def auto_readline loop do begin #while buffer = Readline.readline("#{Settings.config[:identity][:handle]} >> ".color(:red)) while buffer = Readline.readline(">> ".color(:red)) - post({text: buffer}) + resp = post({text: buffer}) + FileOps.save_post(resp) if Settings.options[:backup][:auto_save_sent_posts] puts Status.done end rescue Interrupt abort(Status.canceled) end