Skip to content

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

@vtjnash vtjnash requested a review from JeffBezanson April 13, 2021 05:45
@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.

3 participants