Print info after prompt on redraw

This fixes the issue where "inline-info" is not immediately rendered
when the terminal is resized.
This commit is contained in:
Junegunn Choi 2015-04-25 23:20:40 +09:00
parent 4b7c571575
commit 5d9107fd15

View File

@ -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() {