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

core.readSync crashes when terminal is resized #1018

Open
finleyjb opened this issue Jan 1, 2025 · 0 comments
Open

core.readSync crashes when terminal is resized #1018

finleyjb opened this issue Jan 1, 2025 · 0 comments

Comments

@finleyjb
Copy link

finleyjb commented Jan 1, 2025

This is the root cause of this issue. If we look at the traceback from that bug, it looks like the exception is thrown here.

I believe this happens in op_read_sync, but I'm not sure I'm tracing that logic correctly.

Some details copied from the previous bug:

Steps to duplicate

  1. Open the deno repl.
  2. Run the following code: Deno.stdin.readSync(new Uint8Array(100));
  3. Resize your terminal.

Environment

This is running in the Tabby command-line app accessing Deno in a WSL Debian environment. It does not exist in Windows outside of WSL, so it might be a quirk due to this specific setup.

OS: Windows 11 24h2, Debian 12 in WSL
deno version: 2.1.4

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

No branches or pull requests

1 participant