lib/howzit/prompt.rb in howzit-2.0.6 vs lib/howzit/prompt.rb in howzit-2.0.7
- old
+ new
@@ -52,10 +52,10 @@
'--header="Use tab to mark multiple selections, enter to display/run"',
'--prompt="Select a section > "'
]
res = `echo #{Shellwords.escape(matches.join("\n"))} | fzf #{settings.join(' ')}`.strip
if res.nil? || res.empty?
- warn 'Cancelled'
+ Howzit.console.info 'Cancelled'
Process.exit 0
end
return res.split(/\n/)
end