From 5d9107fd15a5bca3973f8206884ddfa66d47b923 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Sat, 25 Apr 2015 23:20:40 +0900 Subject: [PATCH] Print info after prompt on redraw This fixes the issue where "inline-info" is not immediately rendered when the terminal is resized. --- src/terminal.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/terminal.go b/src/terminal.go index cae8bf7..c38d714 100644 --- a/src/terminal.go +++ b/src/terminal.go @@ -436,8 +436,8 @@ func processTabs(runes []rune, prefixWidth int) (string, int) { func (t *Terminal) printAll() { t.printList() - t.printInfo() t.printPrompt() + t.printInfo() } func (t *Terminal) refresh() {