Commit Graph

8 Commits

Author SHA1 Message Date
Kartik K. Agaram d441f8a760 some helpers
I spent some time trying to reduce the duplication between identical
operations with and without the shift key pressed. However it makes
things harder to understand. If you try to process selection in
App.keychord_pressed in main.lua, you have to sometimes process the
selection before (e.g. including the state of the cursor _before_ an
arrow key takes effect), and sometimes after (e.g. copying the selection
before resetting it, even though it doesn't include a shift key)

Let's just leave things as they are.
2022-05-29 16:13:24 -07:00
Kartik K. Agaram a6ab7a2c20 bugfix: include shift keys in modifier_down 2022-05-28 23:01:01 -07:00
Kartik K. Agaram f4235a1741 tweak modifier keys to include 'shift' 2022-05-27 23:34:20 -07:00
Kartik K. Agaram 0fab1b499d paste in text with M-v 2022-05-26 20:40:50 -07:00
Kartik K. Agaram dd635546e3 . 2022-05-25 21:04:27 -07:00
Kartik K. Agaram d1f893a98e M-left/M-right for word-based motions 2022-05-25 15:47:11 -07:00
Kartik K. Agaram f421e1daa5 basic test-enabled framework
Tests still have a lot of side-effects on the real screen. We'll
gradually clean those up.
2022-05-22 18:29:52 -07:00
Kartik K. Agaram 4aa2003c94 handle chords
For shift we'll mostly rely on love.textinput. For the rest I've created
a simple driver.
2022-05-02 08:24:24 -07:00