1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Add stub set_screen_size for other platforms

This commit is contained in:
aycabta 2019-08-29 15:21:00 +09:00
parent 07f9cd96f3
commit 893900dc78
2 changed files with 6 additions and 0 deletions

View file

@ -56,6 +56,9 @@ class Reline::GeneralIO
def self.set_screen_size(rows, columns)
end
def self.set_winch_handler(&handler)
end
def self.prep
end

View file

@ -181,6 +181,9 @@ class Reline::Windows
raise NotImplementedError
end
def self.set_winch_handler(&handler)
end
def self.prep
# do nothing
nil