Skip to content

Conversation

@reycn
Copy link

@reycn reycn commented May 31, 2023

It seems that change a little bit is OK.

Test passed on my M1 machine running 12.6.5

MacOS 13.0 -> 12.4

Copy link
Owner

@seeM seeM left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I’m not very familiar with Swift/mac development. Is the idea that you’re using a method that is compatible with an older version of Swift thus older version of macOS?

}

textView.string = text.trimmingCharacters(in: Foundation.CharacterSet.whitespacesAndNewlines).replacing(/\[\d+[\d;]*m/, with: "")
let string = text.trimmingCharacters(in: Foundation.CharacterSet.whitespacesAndNewlines)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would you mind keeping this in a single line as before?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants