Mpdreamz / shellprogressbar

ShellProgressBar - display progress in your console application
MIT License
1.44k stars 134 forks source link

Feature/master/make room for progressbar #57

Closed Mpdreamz closed 4 years ago

Mpdreamz commented 4 years ago

scroll-pbar

This is a continuation of #41 which will prevent items being drawn if they're off screen (now the default).

The progress bar will now always makes room for the progressbar and its children (with a maximum of the window height - 1).

Previously if you started a progressbar while the cursor (readline) of the shell was at the bottom the progressbar would not always be visible, only showing its top half.