From 06bbacc086d9a63c4443aafb19903b792c41c2e0 Mon Sep 17 00:00:00 2001 From: aycabta Date: Sat, 14 Sep 2019 00:10:34 +0900 Subject: Revert "Support multibyte input" This reverts commit 6d9e54816f828983bcf383ce6fce287bd3ca05b9. --- lib/reline/ansi.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/reline/ansi.rb') diff --git a/lib/reline/ansi.rb b/lib/reline/ansi.rb index 92d4522aa4..2eca2b0960 100644 --- a/lib/reline/ansi.rb +++ b/lib/reline/ansi.rb @@ -26,8 +26,7 @@ class Reline::ANSI unless @@buf.empty? return @@buf.shift end - c = @@input.raw(&:getbyte) - (c == 0x16 && @@input.raw(min: 0, tim: 0, &:getbyte)) || c + @@input.raw(&:getbyte) end def self.ungetc(c) -- cgit v1.2.3