Skip to content

Commit

Permalink
use slice
Browse files Browse the repository at this point in the history
  • Loading branch information
raphamorim committed Aug 17, 2024
1 parent aacf2b7 commit 3a6849f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontends/rioterm/src/screen/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1215,7 +1215,7 @@ impl Screen<'_> {
self.state.set_ime(self.ime.preedit());

self.state.prepare_term(
rows,
&rows,
cursor,
&mut self.sugarloaf,
&self.context_manager,
Expand Down
2 changes: 1 addition & 1 deletion frontends/rioterm/src/state/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@ impl State {
#[inline]
pub fn prepare_term(
&mut self,
rows: Vec<Row<Square>>,
rows: &[Row<Square>],
cursor: CursorState,
sugarloaf: &mut Sugarloaf,
context_manager: &crate::context::ContextManager<rio_backend::event::EventProxy>,
Expand Down

0 comments on commit 3a6849f

Please sign in to comment.