Skip to content

Commit

Permalink
Support Terminfo on Cygwin and macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
aycabta committed Jul 6, 2021
1 parent 320f090 commit b0b75fc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/reline/terminfo.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ def self.curses_dl_files
when /mingw/, /mswin/
# aren't supported
[]
when /cygwin/
%w[cygncursesw-10.dll cygncurses-10.dll]
when /darwin/
%w[libncursesw.dylib libcursesw.dylib libncurses.dylib libcurses.dylib]
else
%w[libncursesw.so libcursesw.so libncurses.so libcurses.so]
end
Expand Down

0 comments on commit b0b75fc

Please sign in to comment.