mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-12-24 10:23:43 +08:00
1e858eae35
This demonstrates that we only write control sequences when interactive.
18 lines
200 B
Fish
18 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
|