Repository navigation
0.21.0
New:
ProgressBarfills from the left to an eighth of a cell as its progress goes from 0 to 1, in a color of its own over a track color for the part still to fill. It is one row high andDefaultProgressBarWidthcells wide unless its modifier sizes it.Spinnershows the frames of aSpinnerStylein turn while it is composed, as wide as the widest frame.SpinnerStylehasDots,Line, andPulse, and takes frames and an interval of one's own.
Fixed:
- A program which fails leaves the terminal as one which completes does, with the cursor shown. The terminal was restored before the program's last output, which hid the cursor again.
- The
runMosaic*family of functions closes the TTY only once the terminal stopped reading it. Quitting could fail withIOException: 9(EBADF) from a read of the closed TTY. - On JDK 22 and newer, reads which reach the end of the input return -1, as they do on older JDKs, rather than throwing
IndexOutOfBoundsException. This coversTty,TestTerminal, andStandardStreams.