Skip to content

fix(parser): parse CSI Z as shift+tab#312

Merged
rockorager merged 1 commit intorockorager:mainfrom
nowaymyname27:fix/parser-csi-z-shift-tab
Mar 12, 2026
Merged

fix(parser): parse CSI Z as shift+tab#312
rockorager merged 1 commit intorockorager:mainfrom
nowaymyname27:fix/parser-csi-z-shift-tab

Conversation

@nowaymyname27
Copy link
Contributor

Summary

  • add CSI Z handling in Parser.parseCsi to emit Shift+Tab (Key.tab with mods.shift = true)
  • add parser test coverage for \x1b[Z (parse: xterm shift+tab)
  • closes the gap reported for macOS terminals emitting CSI Z for Shift+Tab

Testing

  • zig build test

@nowaymyname27
Copy link
Contributor Author

Thanks for maintaining vaxis. I recently started using it in a personal project and wanted to contribute a small fix. This PR addresses #266 by handling CSI Z as Shift+Tab and adds parser test coverage. Happy to adjust anything if you’d prefer a different approach.

@rockorager rockorager merged commit 41fff92 into rockorager:main Mar 12, 2026
4 checks passed
@rockorager
Copy link
Owner

Thanks!

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