lib/howzit/prompt.rb in howzit-1.2.17 vs lib/howzit/prompt.rb in howzit-1.2.18
- old
+ new
@@ -44,10 +44,10 @@
if Util.command_exist?('fzf')
settings = [
'-0',
'-1',
'-m',
- "--height=#{matches.count + 2}",
+ "--height=#{matches.count + 3}",
'--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?