aerc/widgets
Robin Jarry 7a6c808c04 bindings: prepare for more modifers
Prepare to support more modifiers in key bindings.

tcell has some premade ctrl-modified keys but not all keys are
supported. Other keys must be explicitly checked with a modifier mask.

Update the KeyStroke type to carry a modifier mask. Update code
accordingly.

No functional change.

Link: https://github.com/gdamore/tcell/blob/master/key.go#L265-L275
Link: https://github.com/gdamore/tcell/blob/master/key.go#L384-L419
Signed-off-by: Robin Jarry <robin@jarry.cc>
2021-10-28 16:21:37 +02:00
..
account-wizard.go Get rid of the aerc.PushError(" " + $string) idiom 2021-01-30 14:04:23 +01:00
account.go update tcell to v2 and enable TrueColor support 2020-12-18 07:23:22 +01:00
aerc.go bindings: prepare for more modifers 2021-10-28 16:21:37 +02:00
common.go widgets: add msgInfoFromUids helper 2019-12-21 09:27:47 -05:00
compose.go compose: apply default style to header separator 2021-01-14 06:36:09 +01:00
dirlist.go Apply dirlist style to unselected directories 2021-01-12 20:07:36 +01:00
exline.go update tcell to v2 and enable TrueColor support 2020-12-18 07:23:22 +01:00
getpasswd.go update tcell to v2 and enable TrueColor support 2020-12-18 07:23:22 +01:00
headerlayout.go Initial support for PGP decryption & signatures 2020-03-03 16:49:52 -05:00
msglist.go Reapply 'Fix nil pointer deref on Envelope' 2021-01-03 09:08:27 +01:00
msgviewer.go update tcell to v2 and enable TrueColor support 2020-12-18 07:23:22 +01:00
pgpinfo.go Implement style configuration. 2020-08-06 21:42:06 +02:00
providesmessage.go Change MarkedMessages to return uids 2020-05-11 09:47:34 -04:00
selector.go update tcell to v2 and enable TrueColor support 2020-12-18 07:23:22 +01:00
spinner.go update tcell to v2 and enable TrueColor support 2020-12-18 07:23:22 +01:00
status.go update tcell to v2 and enable TrueColor support 2020-12-18 07:23:22 +01:00
tabhost.go Implement style configuration. 2020-08-06 21:42:06 +02:00
terminal.go widgets/terminal: Only call vterm.ScreenCell.Attrs once in styleFromCell 2021-04-13 01:32:45 +02:00