Radish alpha
r
rad:z39mP9rQAaGmERfUMPULfPUi473tY
Radicle terminal user interface
Radicle
Git
lib/ui: Make shortcuts more prominent
Erik Kundt committed 3 months ago
commit dc9580402aa5e7ac5aed87eef4cd18ae1ca0be70
parent b692039
1 file changed +3 -1
modified src/ui/im/widget.rs
@@ -1079,7 +1079,9 @@ impl Widget for Shortcuts {
        let mut row = vec![];

        while let Some(shortcut) = shortcuts.next() {
-
            let short = Text::from(shortcut.0.clone()).style(ui.theme.shortcuts_keys_style);
+
            let short = Text::from(shortcut.0.clone())
+
                .style(ui.theme.shortcuts_keys_style)
+
                .bold();
            let long = Text::from(shortcut.1.clone()).style(ui.theme.shortcuts_action_style);
            let spacer = Text::from(String::new());
            let divider = Text::from(format!(" {} ", self.divider)).style(style::gray().dim());