Terminal: Ignore rightChar at end of line
This commit is contained in:
1 parent
40034743ad
commit
f6ee0aed4f
1 file changed
+1
-1
@@ -712,7 +712,7 @@ function TermInputText:rightChar(skip_callback)
|
||||
end
|
||||
if self.charpos > #self.charlist then return end
|
||||
local right_char = self.charlist[self.charpos + 1]
|
||||
if not right_char and right_char == "\n" then
|
||||
if not right_char or right_char == "\n" then
|
||||
return
|
||||
end
|
||||
InputText.rightChar(self)
|
||||
|
||||
Reference in new issue
Block a user