Skip to content
  • Sean Silva's avatar
    watch: Fix handling of ANSI color escapes for -c · 469cac00
    Sean Silva authored
    The previous code assumed that there would be 1 or 2 attributes to
    apply. In fact, there can in general be any number (but typically
    between 1 and 3). This commit generalizes the existing code to read
    arbitrarily many attributes from the escape sequence.
    469cac00