diff --git a/lib/reline/terminfo.rb b/lib/reline/terminfo.rb index f53642b919..6cd78f5660 100644 --- a/lib/reline/terminfo.rb +++ b/lib/reline/terminfo.rb @@ -24,7 +24,8 @@ module Reline::Terminfo when /darwin/ %w[libncursesw.dylib libcursesw.dylib libncurses.dylib libcurses.dylib] else - %w[libncursesw.so libcursesw.so libncurses.so libcurses.so] + %w[libncursesw.so libcursesw.so libncurses.so libcurses.so + libncursesw.so.6 libncurses.so.6] end end