use serde::Deserialize;
#[derive(Clone, Debug, Deserialize)]
pub struct KeymapEntry {
pub keys: Vec<String>, pub command: String, pub description: Option<String>,
}
#[derive(Clone, Debug, Deserialize)]
pub struct KeymapMode {
#[serde(default)]
pub keymap: Vec<KeymapEntry>,
}
#[derive(Clone, Debug, Deserialize)]
pub struct KeymapRaw {
pub core_window: Option<KeymapMode>,
pub chat_list: Option<KeymapMode>,
pub chat: Option<KeymapMode>,
pub prompt: Option<KeymapMode>,
}