You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm, currently experiencing an issue with the "inch" method in Ruby curses, this is reproducible in both curses 1.4.2 and 1.4.1. However the issue is not present in curses 1.4.0
Using win.inch.chr returns the character at the cursor position as intended, but in curses 1.4.1/2 this results in an error saying char is out of range. Manually setting the encoding to UTF_8 or UTF_16 removes the error message but does not return the character as intended
ie
Curses 1.4.0 win.inch.chr expected behaviour
Curses 1.4.1+ win.inch.chr error, char out of range
Curses 1.4.1+ win.inch.chr(Encoding::UTF_8) returns ? block
Curses 1.4.1+ win.inch.chr(Encoding::UTF_16) interferes with formatting
The text was updated successfully, but these errors were encountered:
I'm, currently experiencing an issue with the "inch" method in Ruby curses, this is reproducible in both curses 1.4.2 and 1.4.1. However the issue is not present in curses 1.4.0
Using win.inch.chr returns the character at the cursor position as intended, but in curses 1.4.1/2 this results in an error saying char is out of range. Manually setting the encoding to UTF_8 or UTF_16 removes the error message but does not return the character as intended
ie
Curses 1.4.0
win.inch.chr
expected behaviourCurses 1.4.1+
win.inch.chr
error, char out of rangeCurses 1.4.1+
win.inch.chr(Encoding::UTF_8)
returns ? blockCurses 1.4.1+
win.inch.chr(Encoding::UTF_16)
interferes with formattingThe text was updated successfully, but these errors were encountered: