~sircmpwn/aerc2#415: 
Seems like aerc and its :term understand <F13> differently

Hi!

If my terminal emulator sends <F13> as ^[[1;2P, then aerc does understand it (e.g., I can map it like <F13> :cf INBOX<Enter> in binds.conf). But in this case :term doesn't get it (cat in :term shows nothing if I press <F13>).

However, if my terminal emulator sends ^[[25~ as <F13>, then :term captures it OK (cat shows the correct value, and I can map it Vim, for instance), but aerc itself doesn't respond to it at all.

As I understand, ^[[25~ is a VT220 sequence, and ^[[1;2P is something else, so may be the problem is here?

Or maybe I'm just missing something extremely obvious, and there's an easy workaround here?

Thank you.

EDIT: Still true if using the original tcell while building.

Status
REPORTED
Submitter
~john1doe
Assigned to
No-one
Submitted
3 months ago
Updated
2 months ago
Labels
No labels applied.