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

fix #39982, remove cursor artifacts in REPL after #40411 #40452

Merged
merged 1 commit into from
Apr 14, 2021
Merged

Conversation

vtjnash
Copy link
Member

@vtjnash vtjnash commented Apr 13, 2021

In testing #40411, I noticed there were still various cursor artifacts on all platforms. I perceive this PR further reduces the existence and visibility of them.

Afterthought: we could also put a minimum length parameter, above which we use the delay on all platforms, and below which it is rendered directly. Obviously, this would be a much lower threshold on Windows. But it seems like for Windows this would be O(line), while on Unix it would be O(screen), and the existing configuration here already operates on those general thresholds.

Test this by setting:

Base.active_repl.options.auto_refresh_time_delay = 0.2

@JeffBezanson JeffBezanson added the REPL Julia's REPL (Read Eval Print Loop) label Apr 13, 2021
@JeffBezanson JeffBezanson merged commit 8ecb306 into master Apr 14, 2021
@JeffBezanson JeffBezanson deleted the jn/39982 branch April 14, 2021 21:35
@JeffBezanson
Copy link
Member

Afterthought: we could also put a minimum length parameter, above which we use the delay on all platforms, and below which it is rendered directly.

That does sound like the right thing to do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
REPL Julia's REPL (Read Eval Print Loop)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants