diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-08-15 07:46:12 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-08-15 07:46:12 +0800 |
| commit | 28e8dc507e6a134e640bd99003eaba6ceb4fc15d (patch) | |
| tree | 09bc584883b1b34ed6f778e494b3513d644fb773 /mingling/src/res/osc94.rs | |
| parent | f1c48e304a6da6f5098aa18f9e5595ffa229378a (diff) | |
fix: only send clean state when supported
Diffstat (limited to 'mingling/src/res/osc94.rs')
| -rw-r--r-- | mingling/src/res/osc94.rs | 4 |
1 files changed, 3 insertions, 1 deletions
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(); + } } } |
