Skip to content

Commit

Permalink
🎨 pull all lipgloss assignments for CI round 10
Browse files Browse the repository at this point in the history
  • Loading branch information
acidjazz committed May 20, 2024
1 parent fa95173 commit 261241f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion taskin.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ type ansiEscapeCodeFilter struct {

func (f *ansiEscapeCodeFilter) Write(p []byte) (n int, err error) {
// Corrected regular expression to match ANSI escape codes
re := regexp.MustCompile(`\x1b\[[0-?]*[ -/]*[@-~]`)
re := regexp.MustCompile(`\x1b\[[0-?]*[ -/]*[@-~] *`)
// Remove the escape codes from the input
p = re.ReplaceAll(p, []byte{})
// Write the filtered input to the original writer
Expand Down

0 comments on commit 261241f

Please sign in to comment.