Skip to content

Commit

Permalink
update rich_text_id to 0 and remove panic
Browse files Browse the repository at this point in the history
  • Loading branch information
raphamorim committed Dec 21, 2024
1 parent 88e153c commit e66abe8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion frontends/rioterm/src/context/grid.rs
Original file line number Diff line number Diff line change
Expand Up @@ -991,7 +991,7 @@ pub mod test {

assert_eq!(context_dimension.columns, 66);
assert_eq!(context_dimension.lines, 88);
let rich_text_id = 1;
let rich_text_id = 0;
let route_id = 0;
let context = create_mock_context(
VoidListener {},
Expand Down
1 change: 0 additions & 1 deletion frontends/rioterm/src/context/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,6 @@ pub fn create_mock_context<T: rio_backend::event::EventListener>(
);
let terminal: Arc<FairMutex<Crosswords<T>>> = Arc::new(FairMutex::new(terminal));
let (sender, _receiver) = corcovado::channel::channel();
panic!("aaaaa");

Context {
route_id,
Expand Down

0 comments on commit e66abe8

Please sign in to comment.