Merge pull request #18540 from thaJeztah/remove-redundant-check

Remove redundant check
This commit is contained in:
David Calavera 2015-12-09 09:48:11 -08:00
commit 61b832dc5c
1 changed files with 1 additions and 1 deletions

View File

@ -183,7 +183,7 @@ func DisplayJSONMessagesStream(in io.Reader, out io.Writer, terminalFd uintptr,
} else { } else {
diff = len(ids) - line diff = len(ids) - line
} }
if jm.ID != "" && isTerminal { if isTerminal {
// NOTE: this appears to be necessary even if // NOTE: this appears to be necessary even if
// diff == 0. // diff == 0.
// <ESC>[{diff}A = move cursor up diff rows // <ESC>[{diff}A = move cursor up diff rows