From 2b316329149efa8abf2483c6292fc567e19018c0 Mon Sep 17 00:00:00 2001 From: Julian Prein Date: Fri, 19 Sep 2025 01:14:09 +0200 Subject: [PATCH] bin:no-ansi: Add a label to each pattern --- .local/bin/no-ansi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.local/bin/no-ansi b/.local/bin/no-ansi index c74812b..9a7e735 100755 --- a/.local/bin/no-ansi +++ b/.local/bin/no-ansi @@ -8,6 +8,12 @@ # sequences that are followed by additional bytes (e.g. CSI, OSC). This script # covers no C1 sequences. # +# The patterns cover the following escape sequences (from top to bottom): +# - CSI +# - OSC, DCS, PM & APC +# - SOS +# - All remaining sequences +# # See: # - https://en.wikipedia.org/wiki/ANSI_escape_code # - https://www.ecma-international.org/wp-content/uploads/ECMA-35_6th_edition_december_1994.pdf