Skip to content

Commit 36d5859

Browse files
committed
fixing wasm build
1 parent 3b437f3 commit 36d5859

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tunshell-client/src/shell/client/xtermjs.rs

+4
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,10 @@ impl HostShell {
174174
pub async fn size(&self) -> Result<(u16, u16)> {
175175
convert_to_size(self.term.size())
176176
}
177+
178+
pub fn color(&self) -> Result<bool> {
179+
Ok(true)
180+
}
177181
}
178182

179183
fn convert_to_size(arr: JsValue) -> Result<(u16, u16)> {

0 commit comments

Comments
 (0)