Radish alpha
r
Radicle terminal user interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
lib/ui: Make shortcuts more prominent
Erik Kundt committed 4 months ago
commit dc9580402aa5e7ac5aed87eef4cd18ae1ca0be70
parent b69203903fd18cf4b005220eefae5aa2b1325ca7
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());