Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
added a buffer for unfinished lines during progress bar printing. the lines will be completed by the next print, or way at the end when all progress bars are done. #1951
added a buffer for unfinished lines during progress bar printing. the lines will be completed by the next print, or way at the end when all progress bars are done. #1951
Changes from 6 commits
eda61a5
3b93df5
94162b2
31417cd
ed7a738
fb16802
6a30669
f3a56ad
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Check warning on line 45 in src/org/rascalmpl/repl/TerminalProgressBarMonitor.java
Codecov / codecov/patch
src/org/rascalmpl/repl/TerminalProgressBarMonitor.java#L45
Check warning on line 125 in src/org/rascalmpl/repl/TerminalProgressBarMonitor.java
Codecov / codecov/patch
src/org/rascalmpl/repl/TerminalProgressBarMonitor.java#L122-L125
Check warning on line 129 in src/org/rascalmpl/repl/TerminalProgressBarMonitor.java
Codecov / codecov/patch
src/org/rascalmpl/repl/TerminalProgressBarMonitor.java#L127-L129
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe we should grow by 50%?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the chance of having to grow again is large if we only grow by 50%. This way we quickly grow and we don't grow again on short notice.
Check warning on line 151 in src/org/rascalmpl/repl/TerminalProgressBarMonitor.java
Codecov / codecov/patch
src/org/rascalmpl/repl/TerminalProgressBarMonitor.java#L147-L151
Check warning on line 157 in src/org/rascalmpl/repl/TerminalProgressBarMonitor.java
Codecov / codecov/patch
src/org/rascalmpl/repl/TerminalProgressBarMonitor.java#L154-L157
Check warning on line 162 in src/org/rascalmpl/repl/TerminalProgressBarMonitor.java
Codecov / codecov/patch
src/org/rascalmpl/repl/TerminalProgressBarMonitor.java#L160-L162
Check warning on line 167 in src/org/rascalmpl/repl/TerminalProgressBarMonitor.java
Codecov / codecov/patch
src/org/rascalmpl/repl/TerminalProgressBarMonitor.java#L165-L167
Check warning on line 172 in src/org/rascalmpl/repl/TerminalProgressBarMonitor.java
Codecov / codecov/patch
src/org/rascalmpl/repl/TerminalProgressBarMonitor.java#L172
Check warning on line 177 in src/org/rascalmpl/repl/TerminalProgressBarMonitor.java
Codecov / codecov/patch
src/org/rascalmpl/repl/TerminalProgressBarMonitor.java#L176-L177
Check warning on line 183 in src/org/rascalmpl/repl/TerminalProgressBarMonitor.java
Codecov / codecov/patch
src/org/rascalmpl/repl/TerminalProgressBarMonitor.java#L181-L183
Check warning on line 188 in src/org/rascalmpl/repl/TerminalProgressBarMonitor.java
Codecov / codecov/patch
src/org/rascalmpl/repl/TerminalProgressBarMonitor.java#L188
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: rename to
flush
?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not the same as a flush because it also adds newlines. So I have renamed it.
Check warning on line 195 in src/org/rascalmpl/repl/TerminalProgressBarMonitor.java
Codecov / codecov/patch
src/org/rascalmpl/repl/TerminalProgressBarMonitor.java#L192-L195
Check warning on line 197 in src/org/rascalmpl/repl/TerminalProgressBarMonitor.java
Codecov / codecov/patch
src/org/rascalmpl/repl/TerminalProgressBarMonitor.java#L197
Check warning on line 202 in src/org/rascalmpl/repl/TerminalProgressBarMonitor.java
Codecov / codecov/patch
src/org/rascalmpl/repl/TerminalProgressBarMonitor.java#L202
Check warning on line 206 in src/org/rascalmpl/repl/TerminalProgressBarMonitor.java
Codecov / codecov/patch
src/org/rascalmpl/repl/TerminalProgressBarMonitor.java#L206
Check warning on line 335 in src/org/rascalmpl/repl/TerminalProgressBarMonitor.java
Codecov / codecov/patch
src/org/rascalmpl/repl/TerminalProgressBarMonitor.java#L335
Check warning on line 498 in src/org/rascalmpl/repl/TerminalProgressBarMonitor.java
Codecov / codecov/patch
src/org/rascalmpl/repl/TerminalProgressBarMonitor.java#L498
Check warning on line 501 in src/org/rascalmpl/repl/TerminalProgressBarMonitor.java
Codecov / codecov/patch
src/org/rascalmpl/repl/TerminalProgressBarMonitor.java#L500-L501
Check warning on line 506 in src/org/rascalmpl/repl/TerminalProgressBarMonitor.java
Codecov / codecov/patch
src/org/rascalmpl/repl/TerminalProgressBarMonitor.java#L504-L506
Check warning on line 509 in src/org/rascalmpl/repl/TerminalProgressBarMonitor.java
Codecov / codecov/patch
src/org/rascalmpl/repl/TerminalProgressBarMonitor.java#L509
Check warning on line 609 in src/org/rascalmpl/repl/TerminalProgressBarMonitor.java
Codecov / codecov/patch
src/org/rascalmpl/repl/TerminalProgressBarMonitor.java#L609
Check warning on line 627 in src/org/rascalmpl/repl/TerminalProgressBarMonitor.java
Codecov / codecov/patch
src/org/rascalmpl/repl/TerminalProgressBarMonitor.java#L627
Check warning on line 644 in src/org/rascalmpl/repl/TerminalProgressBarMonitor.java
Codecov / codecov/patch
src/org/rascalmpl/repl/TerminalProgressBarMonitor.java#L644
Check warning on line 665 in src/org/rascalmpl/repl/TerminalProgressBarMonitor.java
Codecov / codecov/patch
src/org/rascalmpl/repl/TerminalProgressBarMonitor.java#L665
Check warning on line 667 in src/org/rascalmpl/repl/TerminalProgressBarMonitor.java
Codecov / codecov/patch
src/org/rascalmpl/repl/TerminalProgressBarMonitor.java#L667
Check warning on line 670 in src/org/rascalmpl/repl/TerminalProgressBarMonitor.java
Codecov / codecov/patch
src/org/rascalmpl/repl/TerminalProgressBarMonitor.java#L669-L670