Skip to content
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

Refresh throw ArgumentOutOfRangeException #20

Closed
EranOfer opened this issue Jul 20, 2018 · 5 comments
Closed

Refresh throw ArgumentOutOfRangeException #20

EranOfer opened this issue Jul 20, 2018 · 5 comments

Comments

@EranOfer
Copy link

When ProgressBar defines with text with > console window size.
call to Refresh or Next will throw an exception: count' must be non-negative.\r\nParameter name: count

@goblinfactory
Copy link
Owner

Hi @EranOfer
Thank you for reporting this bug; can you please post a small code snippet of how to reproduce the bug and I'll take a look at it?
thanks
Alan

@EranOfer
Copy link
Author

Sorry stop working with this project, don't sure how to reproduce the issue.

@goblinfactory
Copy link
Owner

Re-opening this issue - I will manually check this myself later, leaving this open so that I will revisit this during the next update to Konsole.

My guess is this could be a case of the window changing size while some scripts using Konsole are running.

@goblinfactory goblinfactory reopened this Sep 11, 2019
@goblinfactory goblinfactory self-assigned this Sep 11, 2019
@goblinfactory
Copy link
Owner

@EranOfer instead of closing the issue, you can unsubscribe from notifications.

@goblinfactory
Copy link
Owner

@EranOfer this is now fixed in latest release, please give that a go. See issue #33 and issue #28 are probably what caused your issue. Those have been fixed. The new .LockConsoleResizing() method on Windows is a game changer and makes it so much more practical to build real console applications and utilities.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants