Skip to content

A modern terminal with a built-in multiplexer: close it and your sessions keep running. Run shells and tons of AI agents across your machines, then pick them up from desktop, browser, TUI and more. Written in Rust with no UI framework: interface drawn straight on the GPU. No Electron, GPUI or webview.

Keep termwiz Result and format_err imports on wasm

RoversX33f03167d546
diff --git a/termwiz/src/terminal/mod.rs b/termwiz/src/terminal/mod.rs
index 63ec474e..5cf64d56 100644
--- a/termwiz/src/terminal/mod.rs
+++ b/termwiz/src/terminal/mod.rs
@@ -8,7 +8,6 @@ use crate::caps::Capabilities;
use crate::input::InputEvent;
#[cfg(any(unix, windows))]
use crate::surface::Change;
-#[cfg(any(unix, windows))]
use crate::{format_err, Result};
use num_traits::NumCast;
use std::fmt::Display;