mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 21:03:12 +00:00
1e858eae35
This demonstrates that we only write control sequences when interactive.
17 lines
200 B
Fish
17 lines
200 B
Fish
#RUN: %fish %s
|
|
|
|
# See #6397
|
|
|
|
function f --on-signal USR1
|
|
begin
|
|
echo a
|
|
echo b
|
|
end | while read -l line
|
|
echo $line
|
|
end
|
|
end
|
|
|
|
kill -USR1 $fish_pid
|
|
|
|
#CHECK: a
|
|
#CHECK: b
|