diff --git a/plugins/terminal.koplugin/terminputtext.lua b/plugins/terminal.koplugin/terminputtext.lua index c759fb977..f2b58fa30 100644 --- a/plugins/terminal.koplugin/terminputtext.lua +++ b/plugins/terminal.koplugin/terminputtext.lua @@ -651,7 +651,6 @@ function TermInputText:clearToEndOfScreen() pos = pos + 1 end self.is_text_edited = true - self:initTextBox(table.concat(self.charlist)) -- self:moveCursorToCharPos(self.charpos) end @@ -665,7 +664,6 @@ function TermInputText:delToEndOfLine() self.charlist[cur_pos] = " " cur_pos = cur_pos + 1 end - self:initTextBox(table.concat(self.charlist)) end function TermInputText:reverseLineFeed(skip_callback)