Mark redraw after page up/page down
This commit is contained in:
parent
7e9721476d
commit
eef1f2407b
1 changed files with 2 additions and 0 deletions
|
|
@ -246,9 +246,11 @@ fn main() {
|
||||||
orbclient::K_DEL if event.pressed => buffer.action(TextAction::Delete),
|
orbclient::K_DEL if event.pressed => buffer.action(TextAction::Delete),
|
||||||
orbclient::K_PGUP if event.pressed => {
|
orbclient::K_PGUP if event.pressed => {
|
||||||
scroll -= window_lines;
|
scroll -= window_lines;
|
||||||
|
buffer.redraw = true;
|
||||||
},
|
},
|
||||||
orbclient::K_PGDN if event.pressed => {
|
orbclient::K_PGDN if event.pressed => {
|
||||||
scroll += window_lines;
|
scroll += window_lines;
|
||||||
|
buffer.redraw = true;
|
||||||
},
|
},
|
||||||
orbclient::K_0 if event.pressed && ctrl_pressed => {
|
orbclient::K_0 if event.pressed && ctrl_pressed => {
|
||||||
font_size_i = font_size_default;
|
font_size_i = font_size_default;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue