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 live apps #258

Merged
merged 2 commits into from
Jan 13, 2025
Merged

Fix live apps #258

merged 2 commits into from
Jan 13, 2025

Conversation

sandyspiers
Copy link
Contributor

For whatever reason, we cannot get into raw mode using the patch in eaf337c. This meant live apps are basically broken.

Looking at JuliaLang/julia@5023ee2 , all instances of terminal were replaced with a getter (in their case, default_terminal()). We basically do the same thing here, with a static check to see if default_terminal() exists, and if not returns REPL.TerminalMenus.terminal. This is mainly for backwards compatibility, in line eaf337c.

I have no idea why the getter function works and the constant does not, maybe someone can explain this to me.

Also, I've changed from debug to warning level if we cant get into raw mode.

Working locally on Windows & WSL, using julia 1.10.7, 1.11.2, 1.12.0.

This should fix #252 #253

sandyspiers added 2 commits January 8, 2025 15:07
in line with REPL.TerminalMenus
in line with REPL.TerminalMenus
@FedeClaudi
Copy link
Owner

Looks good - thanks!

@FedeClaudi FedeClaudi merged commit 71c4449 into FedeClaudi:master Jan 13, 2025
@sandyspiers sandyspiers deleted the fix-live-apps branch January 13, 2025 21:36
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.

LiveWidgets keyboard input not working
2 participants