mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-31 12:21:19 -03:00
Reuse function for creating sighupint topic monitor
This commit is contained in:
@@ -391,7 +391,7 @@ fn do_write(
|
||||
true
|
||||
};
|
||||
|
||||
let mut sigcheck = SigChecker::new(Topic::SigHupInt);
|
||||
let mut sigcheck = SigChecker::new_sighupint();
|
||||
let mut success = str2bytes_callback(input, |buff: &[u8]| {
|
||||
if buff.len() + accumlen > accum_capacity {
|
||||
// We have to flush.
|
||||
|
||||
Reference in New Issue
Block a user