Skip to content

feat: support extended keyboard enhancements#1626

Merged
aymanbagabas merged 1 commit intomainfrom
enh-keyboard
Apr 7, 2026
Merged

feat: support extended keyboard enhancements#1626
aymanbagabas merged 1 commit intomainfrom
enh-keyboard

Conversation

@aymanbagabas
Copy link
Copy Markdown
Member

This adds support for the Kitty keyboard protocol's extended enhancements, allowing applications to request that the terminal report additional information about key events, such as whether they're part of a repeat sequence, alternate key values, and associated text.

Supersedes: #1622
Fixes: #1621
Fixes: #1623

This adds support for the Kitty keyboard protocol's extended
enhancements, allowing applications to request that the terminal report
additional information about key events, such as whether they're part of
a repeat sequence, alternate key values, and associated text.

Supersedes: #1622
Fixes: #1621
Fixes: #1623
@aymanbagabas aymanbagabas requested review from a team, andreynering and meowgorithm March 14, 2026 17:38
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 14, 2026

Codecov Report

❌ Patch coverage is 36.84211% with 12 lines in your changes missing coverage. Please review.
✅ Project coverage is 55.76%. Comparing base (e19d255) to head (8c4422d).
⚠️ Report is 10 commits behind head on main.

Files with missing lines Patch % Lines
cursed_renderer.go 53.84% 3 Missing and 3 partials ⚠️
keyboard.go 0.00% 6 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1626      +/-   ##
==========================================
- Coverage   56.09%   55.76%   -0.34%     
==========================================
  Files          25       25              
  Lines        1287     1300      +13     
==========================================
+ Hits          722      725       +3     
- Misses        481      489       +8     
- Partials       84       86       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@rit3sh-x
Copy link
Copy Markdown

rit3sh-x commented Apr 6, 2026

@aymanbagabas @andreynering the PR seems stalled happy to take this over or assist if needed.

@aymanbagabas
Copy link
Copy Markdown
Member Author

Thank you @rit3sh-x for the gentle ping. This is going to be released soon in the next version of Bubble Tea v2. You can use go get charm.land/bubbletea/v2@main to get the patch right away.

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.

Incorrect capital lettters on non-QWERTY layouts in VSCode when keyboardEnhancements is enabled shift+space is only reported on KeyRelease on macOS

3 participants