diff --git a/frontends/rioterm/src/screen/mod.rs b/frontends/rioterm/src/screen/mod.rs index e0208a56d1..43b177faf2 100644 --- a/frontends/rioterm/src/screen/mod.rs +++ b/frontends/rioterm/src/screen/mod.rs @@ -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, diff --git a/frontends/rioterm/src/state/mod.rs b/frontends/rioterm/src/state/mod.rs index bde181336b..7a2e6d1617 100644 --- a/frontends/rioterm/src/state/mod.rs +++ b/frontends/rioterm/src/state/mod.rs @@ -556,7 +556,7 @@ impl State { #[inline] pub fn prepare_term( &mut self, - rows: Vec>, + rows: &[Row], cursor: CursorState, sugarloaf: &mut Sugarloaf, context_manager: &crate::context::ContextManager,