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

ruby-changes:73381

From: Hiroshi <ko1@a...>
Date: Fri, 2 Sep 2022 16:10:03 +0900 (JST)
Subject: [ruby-changes:73381] 7ff50ee35c (master): [ruby/reline] Added some of abstruct methods for cursor

https://git.ruby-lang.org/ruby.git/commit/?id=7ff50ee35c

From 7ff50ee35c01dbd8d21e395261290890a669de82 Mon Sep 17 00:00:00 2001
From: Hiroshi SHIBATA <hsbt@r...>
Date: Fri, 2 Sep 2022 14:25:51 +0900
Subject: [ruby/reline] Added some of abstruct methods for cursor

https://github.com/ruby/reline/commit/f5fa30d595
---
 lib/reline/general_io.rb | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/lib/reline/general_io.rb b/lib/reline/general_io.rb
index 3fafad5c6e..92c76cbba1 100644
--- a/lib/reline/general_io.rb
+++ b/lib/reline/general_io.rb
@@ -57,6 +57,12 @@ class Reline::GeneralIO https://github.com/ruby/ruby/blob/trunk/lib/reline/general_io.rb#L57
     Reline::CursorPos.new(1, 1)
   end
 
+  def self.hide_cursor
+  end
+
+  def self.show_cursor
+  end
+
   def self.move_cursor_column(val)
   end
 
-- 
cgit v1.2.1


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

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