update docs to new bitflags serialization

This commit is contained in:
extrawurst 2024-02-19 11:34:18 +01:00
parent f1da79b4b2
commit e7bc4084da

View file

@ -7,14 +7,15 @@ However popular demand lead to fully customizability of the key bindings.
Create a `key_bindings.ron` file like this:
```
(
move_left: Some(( code: Char('h'), modifiers: ( bits: 0,),)),
move_right: Some(( code: Char('l'), modifiers: ( bits: 0,),)),
move_up: Some(( code: Char('k'), modifiers: ( bits: 0,),)),
move_down: Some(( code: Char('j'), modifiers: ( bits: 0,),)),
move_left: Some(( code: Char('h'), modifiers: "")),
move_right: Some(( code: Char('l'), modifiers: "")),
move_up: Some(( code: Char('k'), modifiers: "")),
move_down: Some(( code: Char('j'), modifiers: "")),
stash_open: Some(( code: Char('l'), modifiers: ( bits: 0,),)),
stash_open: Some(( code: Char('l'), modifiers: "")),
open_help: Some(( code: F(1), modifiers: "")),
open_help: Some(( code: F(1), modifiers: ( bits: 0,),)),
status_reset_item: Some(( code: Char('U'), modifiers: "SHIFT")),
)
```