Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'helix-tui/src/backend/test.rs')
-rw-r--r--helix-tui/src/backend/test.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/helix-tui/src/backend/test.rs b/helix-tui/src/backend/test.rs
index 8cd3a2fd..47049cd8 100644
--- a/helix-tui/src/backend/test.rs
+++ b/helix-tui/src/backend/test.rs
@@ -119,10 +119,6 @@ impl Backend for TestBackend {
Ok(())
}
- fn force_restore() -> Result<(), io::Error> {
- Ok(())
- }
-
fn draw<'a, I>(&mut self, content: I) -> Result<(), io::Error>
where
I: Iterator<Item = (u16, u16, &'a Cell)>,
@@ -164,4 +160,8 @@ impl Backend for TestBackend {
fn flush(&mut self) -> Result<(), io::Error> {
Ok(())
}
+
+ fn supports_true_color(&self) -> bool {
+ false
+ }
}