From 28e8dc507e6a134e640bd99003eaba6ceb4fc15d Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Sat, 15 Aug 2026 07:46:12 +0800 Subject: fix: only send clean state when supported --- mingling/src/res/osc94.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'mingling/src') diff --git a/mingling/src/res/osc94.rs b/mingling/src/res/osc94.rs index 0c5a5a9..8f873aa 100644 --- a/mingling/src/res/osc94.rs +++ b/mingling/src/res/osc94.rs @@ -257,6 +257,8 @@ impl OSC94Guard { impl Drop for OSC94Guard { fn drop(&mut self) { - OSC94State::Clean.send(); + if self.is_support { + OSC94State::Clean.send(); + } } } -- cgit