ulyssa / iamb

A Matrix client for Vim addicts
https://iamb.chat
Apache License 2.0
608 stars 45 forks source link

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

Closed ulyssa closed 5 months ago

ulyssa commented 5 months ago

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, 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.