mirror of
https://github.com/wez/wezterm.git
synced 2024-12-24 13:52:55 +03:00
fixup term tests for set_title cleanup
This commit is contained in:
parent
f3e42c3d2a
commit
50caecfd9d
@ -15,15 +15,11 @@ use termwiz::escape::csi::{Edit, EraseInDisplay, EraseInLine};
|
||||
use termwiz::escape::{OneBased, OperatingSystemCommand, CSI};
|
||||
use termwiz::surface::CursorShape;
|
||||
|
||||
struct TestHost {
|
||||
title: String,
|
||||
}
|
||||
struct TestHost {}
|
||||
|
||||
impl TestHost {
|
||||
fn new() -> Self {
|
||||
Self {
|
||||
title: String::new(),
|
||||
}
|
||||
Self {}
|
||||
}
|
||||
}
|
||||
|
||||
@ -65,10 +61,6 @@ impl Clipboard for LocalClip {
|
||||
}
|
||||
|
||||
impl TerminalHost for TestHost {
|
||||
fn set_title(&mut self, title: &str) {
|
||||
self.title = title.into();
|
||||
}
|
||||
|
||||
fn writer(&mut self) -> &mut dyn std::io::Write {
|
||||
self
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user