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

Allow typing newline with <S-Enter> and enable keyboard enhancement protocol #272

Merged
merged 1 commit into from
Apr 22, 2024

Conversation

ulyssa
Copy link
Owner

@ulyssa ulyssa commented Apr 22, 2024

This fixes #271 (and #255 in the right terminals) by enabling the Kitty keyboard enhancement protocol. In order to benefit from this, you'll need to be using a terminal that supports one of:

I'd like to put together a Terminal Recommendations page on the website to help people find terminals with support for image previews and improved keypress support. I'll probably include all of the above there in a table, with columns to show what they support.

Terminals I tried that don't support any way to represent Shift + Enter:

  • deepin-terminal
  • Eterm (also seems unable to handle unicode)
  • gnome-terminal (tracking issue)
  • konsole (tracking issue)
  • lxterminal
  • mate-terminal
  • qterminal
  • st
  • sakura
  • Terminal.app
  • terminology (cursor is shown in the wrong place for some reason?)
  • urxvt
  • xfce4-terminal
  • yakuake
  • zutty
  • WSL in Windows Terminal (tracking issue)

deepin-terminal, konsole, qterminal, and yakuake generate SS3 M when you press Shift + Enter, which crossterm doesn't currently parse, but from what I can tell should be parsed as a numpad Enter.

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.

Feature request: better hotkeys for multiline messages
1 participant