diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml index 1c0b17e9..19e0d655 100644 --- a/.github/ISSUE_TEMPLATE/bug.yml +++ b/.github/ISSUE_TEMPLATE/bug.yml @@ -37,10 +37,14 @@ body: label: "`yazi --debug` output" description: Please do a `yazi --debug` and paste the output here. value: | +
+ ```sh ``` + +
validations: required: true - type: textarea diff --git a/scripts/publish.sh b/scripts/publish.sh index 8e8d4abe..e35ba6d2 100755 --- a/scripts/publish.sh +++ b/scripts/publish.sh @@ -1,5 +1,6 @@ cargo publish -p yazi-shared cargo publish -p yazi-config +cargo publish -p yazi-proxy cargo publish -p yazi-adaptor cargo publish -p yazi-boot cargo publish -p yazi-scheduler diff --git a/yazi-fm/src/signals.rs b/yazi-fm/src/signals.rs index 35933d63..8a1a8b2b 100644 --- a/yazi-fm/src/signals.rs +++ b/yazi-fm/src/signals.rs @@ -55,17 +55,11 @@ impl Signals { let tx = self.tx.clone(); Ok(tokio::spawn(async move { while let Some(signal) = signals.next().await { - if HIDER.try_acquire().is_err() { - continue; - } - match signal { SIGHUP | SIGTERM | SIGQUIT | SIGINT => { - if tx.send(Event::Quit(Default::default())).is_err() { - break; - } + tx.send(Event::Quit(Default::default())).ok(); } - SIGCONT => AppProxy::resume(), + SIGCONT if HIDER.try_acquire().is_ok() => AppProxy::resume(), _ => {} } }