mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-30 03:01:15 -03:00
fixup! filter control sequences
This commit is contained in:
@@ -1,14 +1,11 @@
|
||||
#!/usr/bin/fish
|
||||
# Remove the sorts of escape sequences interactive fish prints.
|
||||
|
||||
# First the enable sequences
|
||||
# First the enable sequences, then a "|" combiner and then the disable ones
|
||||
set -l escapes "\e\[\?2004h"\
|
||||
"\e\[>4;1m"\
|
||||
"\e\[>5u"\
|
||||
"\e="\
|
||||
# or
|
||||
"|"\
|
||||
# the disable sequences
|
||||
"\e\[\?2004l"\
|
||||
"\e\[>4;0m"\
|
||||
"\e\[<1u"\
|
||||
|
||||
Reference in New Issue
Block a user