mirror of
https://github.com/notohh/rustlings.git
synced 2024-11-22 05:52:23 -05:00
Better variable name
This commit is contained in:
parent
d988054ad8
commit
8c31d38fa1
1 changed files with 2 additions and 3 deletions
|
@ -133,11 +133,10 @@ impl<'a> UiState<'a> {
|
||||||
&mut self.table_state,
|
&mut self.table_state,
|
||||||
);
|
);
|
||||||
|
|
||||||
// Help footer
|
let help_footer =
|
||||||
let footer =
|
|
||||||
"↓/j ↑/k home/g end/G │ Filter <d>one/<p>ending │ <r>eset │ <c>ontinue at │ <q>uit";
|
"↓/j ↑/k home/g end/G │ Filter <d>one/<p>ending │ <r>eset │ <c>ontinue at │ <q>uit";
|
||||||
frame.render_widget(
|
frame.render_widget(
|
||||||
Span::raw(footer),
|
Span::raw(help_footer),
|
||||||
Rect {
|
Rect {
|
||||||
x: 0,
|
x: 0,
|
||||||
y: area.height - 1,
|
y: area.height - 1,
|
||||||
|
|
Loading…
Reference in a new issue