diff options
Diffstat (limited to 'src/server')
| -rw-r--r-- | src/server/keybindings.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/server/keybindings.rs b/src/server/keybindings.rs index 262463ff..08046ba4 100644 --- a/src/server/keybindings.rs +++ b/src/server/keybindings.rs @@ -2,7 +2,7 @@ use crate::app; pub(crate) fn app_keybindings(app: &app::App) -> crate::config::LiveKeybindConfig { crate::config::LiveKeybindConfig { - prefix: (app.state.prefix_code, app.state.prefix_mods), + prefix: app.state.prefix_keys.clone(), keybinds: app.state.keybinds.clone(), } } @@ -11,7 +11,6 @@ pub(crate) fn apply_keybindings( app: &mut app::App, keybindings: &crate::config::LiveKeybindConfig, ) { - app.state.prefix_code = keybindings.prefix.0; - app.state.prefix_mods = keybindings.prefix.1; + app.state.prefix_keys = keybindings.prefix.clone(); app.state.keybinds = keybindings.keybinds.clone(); } |
