fix(terminal): linux, macOS, win as the controlled (#13930)

1. `TERM` on linux terminal.
2. `htop` command not found on macOS.
3. `vim` and `claude code cli` hung up on windows.

Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
fufesou 2026-01-07 16:07:14 +08:00 • committed by GitHub
parent 5a183490dc
commit 8fe10d61ea
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 1608 additions and 71 deletions

View file

@ -33,6 +33,8 @@ use video_service::VideoSource;
use crate::ipc::Data;
pub mod audio_service;
#[cfg(target_os = "windows")]
pub mod terminal_helper;
#[cfg(not(any(target_os = "android", target_os = "ios")))]
pub mod terminal_service;
cfg_if::cfg_if! {