Skip to content

Commit b0b75fc

Browse files
committed
Support Terminfo on Cygwin and macOS
1 parent 320f090 commit b0b75fc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/reline/terminfo.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ def self.curses_dl_files
1111
when /mingw/, /mswin/
1212
# aren't supported
1313
[]
14+
when /cygwin/
15+
%w[cygncursesw-10.dll cygncurses-10.dll]
16+
when /darwin/
17+
%w[libncursesw.dylib libcursesw.dylib libncurses.dylib libcurses.dylib]
1418
else
1519
%w[libncursesw.so libcursesw.so libncurses.so libcurses.so]
1620
end

0 commit comments

Comments
 (0)