rust: merge UI feature modules; fix Ctrl+key on Linux/Windows (egui command_only shadowing); clippy clean; rustfmt config

This commit is contained in:
Andy Dixon
2026-10-11 17:40:48 +01:00
parent 327ca1caa9
commit 2bb12c3a58
49 changed files with 1140 additions and 659 deletions
-9
View File
@@ -14,15 +14,6 @@ pub enum View {
Vnc(Box<VncView>),
}
impl View {
pub fn terminal(&mut self) -> Option<&mut TermView> {
match self {
View::Terminal(t) => Some(t),
_ => None,
}
}
}
/// Protocol badge colour (the web build's --protocol-* tokens).
pub fn protocol_color(p: nexus_core::models::Protocol) -> egui::Color32 {
use nexus_core::models::Protocol::*;