mirror of
https://github.com/notohh/rustlings.git
synced 2024-11-22 05:52:23 -05:00
Shorten the help footer
This commit is contained in:
parent
e640b4a1ff
commit
4f69285375
1 changed files with 3 additions and 1 deletions
|
@ -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 a new issue