We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42e30e7 commit 69d4dcbCopy full SHA for 69d4dcb
helix-term/src/application.rs
@@ -224,8 +224,8 @@ impl Application {
224
#[cfg(windows)]
225
let signals = futures_util::stream::empty();
226
#[cfg(not(windows))]
227
- let signals =
228
- Signals::new(&[signal::SIGTSTP, signal::SIGCONT]).context("build signal handler")?;
+ let signals = Signals::new(&[signal::SIGTSTP, signal::SIGCONT, signal::SIGUSR1])
+ .context("build signal handler")?;
229
230
let app = Self {
231
compositor,
@@ -426,6 +426,10 @@ impl Application {
426
self.compositor.load_cursor();
427
self.render();
428
}
429
+ signal::SIGUSR1 => {
430
+ self.refresh_config();
431
+ self.render();
432
+ }
433
_ => unreachable!(),
434
435
0 commit comments