1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2024-09-16 10:51:42 +02:00

Shorten the help footer

This commit is contained in:
mo8it 2024-04-07 04:39:03 +02:00
parent e640b4a1ff
commit 4f69285375

View File

@ -96,8 +96,10 @@ pub fn list(state: &State, exercises: &[Exercise]) -> Result<()> {
},
&mut table_state,
);
// Help footer
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 {
x: 0,
y: area.height - 1,