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

[bug]: unhandled ZLE widget errors when using zsh over serial console #76

Open
agorgl opened this issue Jan 2, 2025 · 1 comment
Open
Labels
bug Something isn't working

Comments

@agorgl
Copy link

agorgl commented Jan 2, 2025

Describe the bug

When starting zsh on a serial console session (e.g. in a VM with console=ttyS0 in kernel parameters and attaching with virsh console) I get these error/warning lines in the output:

zsh-syntax-highlighting: unhandled ZLE widget '^[[3~'
zsh-syntax-highlighting: unhandled ZLE widget '\C-W'
zsh-syntax-highlighting: unhandled ZLE widget '^?'

With the same configuration over a normal (non-serial console) tty session they do not appear.

Steps to reproduce

  1. Start a virtual machine with console=ttyS0 in kernel parameters
  2. Attach to the above virtual machine with virsh console
  3. Login and make a minimal .zshrc that sources zdharma-continuum/fast-syntax-highlighting plugin
  4. Run zsh

Expected behavior

To not see the above errors

Screenshots and recordings

No response

Operating System & Version

linux-gnu | pc | x86_64 | x86_64 | x86_64 unknown

Zsh version

zsh 5.9 (x86_64-pc-linux-gnu)

Terminal emulator

vt220

If using WSL on Windows, which version of WSL

None

Additional context

No response

@agorgl agorgl added the bug Something isn't working label Jan 2, 2025
@agorgl
Copy link
Author

agorgl commented Jan 2, 2025

It also seems that launching zsh with TERM=xterm-256color zsh from tty does not produce these errors, while leaving the default TERM=vt220 zsh does produce them

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant