[前][次][番号順一覧][スレッド一覧]

ruby-changes:66993

From: aycabta <ko1@a...>
Date: Fri, 30 Jul 2021 02:27:08 +0900 (JST)
Subject: [ruby-changes:66993] 1c9cb9da8f (master): [ruby/reline] Support Terminfo on Cygwin and macOS

https://git.ruby-lang.org/ruby.git/commit/?id=1c9cb9da8f

From 1c9cb9da8fa601c747cb90baba5fe6834b28914f Mon Sep 17 00:00:00 2001
From: aycabta <aycabta@g...>
Date: Tue, 6 Jul 2021 23:03:09 +0900
Subject: [ruby/reline] Support Terminfo on Cygwin and macOS

https://github.com/ruby/reline/commit/b0b75fcd27
---
 lib/reline/terminfo.rb | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/lib/reline/terminfo.rb b/lib/reline/terminfo.rb
index 5234d02..811f740 100644
--- a/lib/reline/terminfo.rb
+++ b/lib/reline/terminfo.rb
@@ -11,6 +11,10 @@ module Reline::Terminfo https://github.com/ruby/ruby/blob/trunk/lib/reline/terminfo.rb#L11
     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
-- 
cgit v1.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]