mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-12-23 19:39:07 +00:00
Merge pull request #115 from JackDanger/sleep-when-curses-is-unavailable
Sleep when curses is unavailable
This commit is contained in:
commit
4ceb520c1d
1
fzf
1
fzf
@ -40,6 +40,7 @@ begin
|
|||||||
require 'curses'
|
require 'curses'
|
||||||
rescue LoadError
|
rescue LoadError
|
||||||
$stderr.puts 'curses gem is not installed. Try `gem install curses`.'
|
$stderr.puts 'curses gem is not installed. Try `gem install curses`.'
|
||||||
|
sleep 1
|
||||||
exit 1
|
exit 1
|
||||||
end
|
end
|
||||||
require 'thread'
|
require 'thread'
|
||||||
|
Loading…
Reference in New Issue
Block a user