+require 'open3'
module Redwood
class Mode
title = "Keybindings from #{Mode.make_name klass.name}"
s = <<EOS
#{title}
-#{'-' * title.length}
+#{'-' * title.display_length}
#{km.help_text used_keys}
EOS
unless err.empty?
message = err.first.read
if message =~ /^\s*$/
- Redwood::log "error running #{command} (but no error message)"
+ warn "error running #{command} (but no error message)"
BufferManager.flash "Error running #{command}!"
else
- Redwood::log "error running #{command}: #{message}"
+ warn "error running #{command}: #{message}"
BufferManager.flash "Error: #{message}"
end
return