Commit graph

790 commits

Author SHA1 Message Date
9bc6931fae Migrate input handling to new bindings 2023-04-29 01:17:45 +02:00
202969c7a9 Add and update key bindings 2023-04-29 01:17:45 +02:00
c0a01b7ad4 Move cursor centering bind to scroll group 2023-04-29 01:17:45 +02:00
e5960b8eda Include more things in InputEvent 2023-04-29 01:17:45 +02:00
6b05a2a06d Fix modifiers being capitalized 2023-04-29 01:17:45 +02:00
593443f10e Fix F1 menu panicking when opened 2023-04-29 01:17:45 +02:00
1ce31b6677 Always show all key bindings in F1 menu 2023-04-29 01:17:45 +02:00
51b1953207 Fix "any" matching no modifiers 2023-04-29 01:17:45 +02:00
ff33454b9a Document key binding format 2023-04-29 01:17:45 +02:00
36c5831b9b Simplify InputEvent
Now that I've decided the F1 menu should always show all key bindings,
there is no need for the InputEvent to be so complex.
2023-04-27 21:46:33 +02:00
64a7e7f518 Simplify KeyGroup
The trait will only be used for documenting the key bindings in the F1
menu from now on. The InputEvent will be directly match-eable against
KeyBinding-s, which should suffice for input event handling.
2023-04-27 21:37:48 +02:00
6ce2afbc9f Rename Input to InputEvent and add paste events 2023-04-27 21:10:34 +02:00
fdc46aa3b8 Rename Group to KeyGroup 2023-04-27 20:56:41 +02:00
6c99f7a53a Rename Group::Action to Event 2023-04-27 20:39:33 +02:00
15177a529a Clean up macro code a bit 2023-04-27 20:36:00 +02:00
6f85995379 Derive Document for simple enums 2023-04-27 20:34:46 +02:00
458025b8bf Use serde's default annotation for Document 2023-04-27 20:11:16 +02:00
d29441bf02 Move todo to proper location 2023-04-27 20:07:25 +02:00
9f24cb2de1 Fix function key parsing 2023-04-27 18:30:56 +02:00
c53e3c262e Include key bindings in config 2023-04-27 18:30:42 +02:00
e1c3a463b2 Move key binding groups to config crate 2023-04-27 15:31:49 +02:00
5a0efd69e4 Extract euph config into submodule 2023-04-27 15:27:23 +02:00
478e3e767c Add some key binding groups 2023-04-27 11:08:14 +02:00
1276a82e54 Implement Group derive proc macro 2023-04-27 11:08:07 +02:00
a1acc26027 Extract Document derive macro to submodule 2023-04-27 10:38:17 +02:00
17acdd0575 Add Group trait 2023-04-27 10:38:17 +02:00
072290511b Query key bindings against input event 2023-04-27 10:38:17 +02:00
3fbb9127a6 Model and (de-)serialize key bindings 2023-04-27 10:38:17 +02:00
abedc5f194 Create cove-input crate 2023-04-26 14:58:36 +02:00
f7f200a608 Add measure_widths config option 2023-04-24 18:21:46 +02:00
39026a217d Use auto-generated config documentation 2023-04-24 14:09:21 +02:00
cc7dd29af4 Print config documentation 2023-04-24 14:08:57 +02:00
3d91d447c7 Document config 2023-04-24 14:08:57 +02:00
f2c3011888 Implement Document derive proc macro 2023-04-24 14:02:20 +02:00
cedeeff10b Add Document trait for config doc generation 2023-04-24 14:02:20 +02:00
dfb2ef5371 Set up cove-macro proc macro crate 2023-04-24 12:03:30 +02:00
5b5370d2df Extract config into cove-config crate 2023-04-21 02:15:25 +02:00
288a5f97dd Set up workspace 2023-04-21 02:15:25 +02:00
babdd10fba Fix docstrings 2023-04-21 02:15:17 +02:00
502ebab132 Fix scroll offset estimation 2023-04-21 01:44:22 +02:00
027bf489b7 Fix key binding listing spacing 2023-04-20 20:54:43 +02:00
3fb774e93e Remove stray crash 2023-04-20 20:48:26 +02:00
318f7e2a73 Update vault 2023-04-19 23:24:35 +02:00
164c02243d Fix scrolling for editor cursor 2023-04-18 18:13:25 +02:00
ade7be594e Update toss and remove more async 2023-04-17 20:37:30 +02:00
a638caadcb Render messages with less async 2023-04-17 18:59:16 +02:00
8182cc5d38 Fix blocks never being higher than one line 2023-04-17 16:53:34 +02:00
07b761e0f9 Fix list cursor being invisible until first redraw 2023-04-17 11:28:06 +02:00
3f18b76c7d Fix chat scrolling up after sending message 2023-04-17 10:25:53 +02:00
21bb87fd45 Rename new modules to old module names 2023-04-17 10:14:01 +02:00