fixed Wrong cursor rendering position on fast new line input (#228)

* #225 ESC press doesn't work as expected under vi

* fix: BEL OSC terminator for Windows

* bug fix: correcte DA2 handling

* bug fix: #223 Wrong cursor rendering position on fast new line input
This commit is contained in:
rrrooommmaaa 2019-02-20 17:03:12 +03:00 committed by GitHub
parent 597c2dcf5a
commit 1909c4c032
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -624,7 +624,7 @@ func (buffer *Buffer) ReverseIndex() {
// Write will write a rune to the terminal at the position of the cursor, and increment the cursor position
func (buffer *Buffer) Write(runes ...rune) {
defer buffer.emitDisplayChange()
// scroll to bottom on input
buffer.terminalState.scrollLinesFromBottom = 0