mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-11-08 09:09:17 +01:00
Shorten the help footer
This commit is contained in:
parent
e640b4a1ff
commit
4f69285375
@ -96,8 +96,10 @@ pub fn list(state: &State, exercises: &[Exercise]) -> Result<()> {
|
|||||||
},
|
},
|
||||||
&mut table_state,
|
&mut table_state,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
// Help footer
|
||||||
frame.render_widget(
|
frame.render_widget(
|
||||||
Span::raw("Navi: ↓/j ↑/k home/g end/G │ Filter done/pending: d/p │ Reset: r │ Continue at: c │ Quit: q"),
|
Span::raw("↓/j ↑/k home/g end/G │ Filter <d>one/<p>ending │ <r>eset │ <c>ontinue at │ <q>uit"),
|
||||||
Rect {
|
Rect {
|
||||||
x: 0,
|
x: 0,
|
||||||
y: area.height - 1,
|
y: area.height - 1,
|
||||||
|
Loading…
Reference in New Issue
Block a user