Extend cursor availability to the shell level
This commit is contained in:
parent
57db196c3a
commit
aba98e4965
6 changed files with 73 additions and 49 deletions
|
|
@ -356,7 +356,7 @@ async fn run_instance<A, E, C>(
|
|||
|
||||
let (interface_state, statuses) = user_interface.update(
|
||||
&events,
|
||||
state.cursor_position(),
|
||||
state.cursor(),
|
||||
&mut renderer,
|
||||
&mut clipboard,
|
||||
&mut messages,
|
||||
|
|
@ -422,7 +422,7 @@ async fn run_instance<A, E, C>(
|
|||
|
||||
let (interface_state, _) = user_interface.update(
|
||||
&[redraw_event.clone()],
|
||||
state.cursor_position(),
|
||||
state.cursor(),
|
||||
&mut renderer,
|
||||
&mut clipboard,
|
||||
&mut messages,
|
||||
|
|
@ -435,7 +435,7 @@ async fn run_instance<A, E, C>(
|
|||
&renderer::Style {
|
||||
text_color: state.text_color(),
|
||||
},
|
||||
state.cursor_position(),
|
||||
state.cursor(),
|
||||
);
|
||||
debug.draw_finished();
|
||||
|
||||
|
|
@ -508,7 +508,7 @@ async fn run_instance<A, E, C>(
|
|||
&renderer::Style {
|
||||
text_color: state.text_color(),
|
||||
},
|
||||
state.cursor_position(),
|
||||
state.cursor(),
|
||||
);
|
||||
|
||||
if new_mouse_interaction != mouse_interaction {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue