Terminal Markdown previewer — GUI-like experience.
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #35 from RivoLink/chore/mouse-selection-shortcut

chore: mouse selection shortcut

authored by

Rivo Link and committed by
GitHub
5ea70608 4e5a0dbf

+10 -2
+1
README.md
··· 126 126 | `g` / Home | Top | 127 127 | `G` / End | Bottom | 128 128 | `t` | Toggle TOC sidebar | 129 + | `Shift+Sel` | Select text | 129 130 | `Shift+T` | Open theme picker | 130 131 | `Shift+E` | Open editor picker | 131 132 | `Shift+P` | Open file browser |
+9 -2
src/render/modal.rs
··· 72 72 73 73 pub(super) fn render_help_popup(f: &mut Frame) { 74 74 let theme = app_theme(); 75 - let area = centered_rect(54, 20, f.area()); 75 + let area = centered_rect(54, 21, f.area()); 76 76 let section_style = Style::default() 77 77 .fg(theme.ui.toc_primary_active) 78 78 .add_modifier(Modifier::BOLD); ··· 114 114 Span::styled("top/bottom", text_style), 115 115 ]), 116 116 Line::from(""), 117 - Line::from(vec![Span::styled("Watch", section_style)]), 117 + Line::from(vec![ 118 + Span::styled("Watch ", section_style), 119 + Span::styled("Mouse", section_style), 120 + ]), 118 121 Line::from(vec![ 119 122 Span::styled("Ctrl+W, w ", key_style), 120 123 Span::styled("toggle watch", text_style), 121 124 Span::raw(" "), 125 + Span::styled("Shift+Sel ", key_style), 126 + Span::styled("select", text_style), 127 + ]), 128 + Line::from(vec![ 122 129 Span::styled("Ctrl+R, r ", key_style), 123 130 Span::styled("reload", text_style), 124 131 ]),