-
Notifications
You must be signed in to change notification settings - Fork 214
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Return early from LineReaderImpl.doList if no possibilities or rows (f…
…ixes #941) (#942) * Fix StackOverflowError in detached Docker container (fixes #941) When running inside a detached Docker container, calling LineReaderImpl.redisplay resulted in a StackOverflowError. The reason for this is that redisplay eventually calls doList, which again calls redisplay because the size.getRows() is 0. * Add a unit test --------- Co-authored-by: Kay Werndli <kay@spinque.com> Co-authored-by: Guillaume Nodet <gnodet@gmail.com>
- Loading branch information
1 parent
cfee77c
commit 643b859
Showing
2 changed files
with
18 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters