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

Make TerminalMenus header dynamic. #38489

Merged

Conversation

GunnarFarneback
Copy link
Contributor

Cc @timholy

Make TerminalMenus print the header in every update instead of only once at the start. This allows dynamic updates of the header as the state of the menu changes.

This is technically breaking in the sense that if someone defined a header function that was time or state dependent, they will now actually see the updates.

@GunnarFarneback
Copy link
Contributor Author

GunnarFarneback commented Nov 22, 2020

For a demonstration, run https://github.com/GunnarFarneback/PackageCompatUI.jl without and with this PR.

@timholy timholy merged commit c701c32 into JuliaLang:master Nov 23, 2020
@timholy
Copy link
Sponsor Member

timholy commented Nov 23, 2020

This is a good idea. Really cool package!

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

Successfully merging this pull request may close these issues.

2 participants