Merge pull request #18540 from thaJeztah/remove-redundant-check
Remove redundant check
This commit is contained in:
commit
61b832dc5c
1 changed files with 1 additions and 1 deletions
|
@ -183,7 +183,7 @@ func DisplayJSONMessagesStream(in io.Reader, out io.Writer, terminalFd uintptr,
|
|||
} else {
|
||||
diff = len(ids) - line
|
||||
}
|
||||
if jm.ID != "" && isTerminal {
|
||||
if isTerminal {
|
||||
// NOTE: this appears to be necessary even if
|
||||
// diff == 0.
|
||||
// <ESC>[{diff}A = move cursor up diff rows
|
||||
|
|
Loading…
Add table
Reference in a new issue