Skip to content

Commit 8d3ba94

Browse files
committed
remove route_id from machine
1 parent e054524 commit 8d3ba94

File tree

3 files changed

+1
-5
lines changed

3 files changed

+1
-5
lines changed

frontends/rioterm/src/context/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,6 @@ impl<T: EventListener + Clone + std::marker::Send + 'static> ContextManager<T> {
288288
pty,
289289
event_proxy.clone(),
290290
window_id,
291-
route_id,
292291
)?;
293292
let channel = machine.channel();
294293
let io_thread = if config.spawn_performer {

frontends/rioterm/src/renderer/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -858,7 +858,7 @@ impl Renderer {
858858
Some(snapshot) => snapshot,
859859
None if force_full_damage => {
860860
// Force full damage case - create a fresh snapshot
861-
let terminal = context.terminal.lock();
861+
let mut terminal = context.terminal.lock();
862862
let snapshot = TerminalSnapshot {
863863
colors: terminal.colors,
864864
display_offset: terminal.display_offset(),

rio-backend/src/performer/mod.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ pub struct Machine<T: teletypewriter::EventedPty, U: EventListener> {
6868
terminal: Arc<FairMutex<Crosswords<U>>>,
6969
event_proxy: U,
7070
window_id: WindowId,
71-
route_id: usize,
7271
}
7372

7473
#[derive(Default)]
@@ -147,7 +146,6 @@ where
147146
pty: T,
148147
event_proxy: U,
149148
window_id: WindowId,
150-
route_id: usize,
151149
) -> Result<Machine<T, U>, Box<dyn std::error::Error>> {
152150
let (sender, receiver) = channel::channel();
153151
let poll = corcovado::Poll::new()?;
@@ -160,7 +158,6 @@ where
160158
terminal,
161159
event_proxy,
162160
window_id,
163-
route_id,
164161
})
165162
}
166163

0 commit comments

Comments
 (0)