From 1909c4c032f229fc14052ef7de39c87f2b81c5b7 Mon Sep 17 00:00:00 2001 From: rrrooommmaaa Date: Wed, 20 Feb 2019 17:03:12 +0300 Subject: [PATCH] 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 --- buffer/buffer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buffer/buffer.go b/buffer/buffer.go index ef3c21e..c721e3e 100644 --- a/buffer/buffer.go +++ b/buffer/buffer.go @@ -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