1
0
Fork 0
mirror of https://git.sr.ht/~rjarry/aerc synced 2025-07-06 19:30:22 +02:00
aerc/lib/ui
GregTheMadMonk d31995f1e2 ui: implement C-left/C-right cursor controls for textinput
When typing inside textinput, Ctrl+Left places the cursor at the start
of the current word, and Ctrl+Right goes to the start of the next one.

Ctrl+Left uses the same code `deleteWord()` function used (which is now
split into a separate function), and Ctrl+Right uses similar lookup in
the other direction.

Implements: https://todo.sr.ht/~rjarry/aerc/231
Signed-off-by: GregTheMadMonk <yagreg7@gmail.com>
Tested-by: skejg <grolleman@zoho.com>
Acked-by: Robin Jarry <robin@jarry.cc>
2025-06-30 11:05:30 +02:00
..
borders.go aerc: change event interfaces to vaxis events 2024-02-12 13:48:42 +01:00
box.go aerc: change event interfaces to vaxis events 2024-02-12 13:48:42 +01:00
context.go treewide: replace interface{} with any 2025-04-07 10:51:05 +02:00
fill.go fill: replace tcell.Style with vaxis.Style 2024-02-12 13:48:47 +01:00
grid.go grid: fix possible crash on startup due to unsynchronized access 2025-06-19 12:23:32 +02:00
interfaces.go account: allow indicating new messages in the tab title 2025-04-07 10:51:14 +02:00
popover.go aerc: change event interfaces to vaxis events 2024-02-12 13:48:42 +01:00
stack.go mouse: use vaxis mouse events 2024-02-12 13:48:56 +01:00
string.go account: allow indicating new messages in the tab title 2025-04-07 10:51:14 +02:00
tab.go ui: update tab title when replacing by with another 2025-05-21 18:28:56 +02:00
table.go treewide: replace interface{} with any 2025-04-07 10:51:05 +02:00
text.go style: use vaxis style everywhere 2024-02-12 13:48:50 +01:00
textinput.go ui: implement C-left/C-right cursor controls for textinput 2025-06-30 11:05:30 +02:00
textinput_test.go ui: implement C-left/C-right cursor controls for textinput 2025-06-30 11:05:30 +02:00
ui.go ui: map number block to regular counterparts 2025-03-20 15:15:22 +01:00