SwiftBar icon indicating copy to clipboard operation
SwiftBar copied to clipboard

Unable to write `|`

Open matopeto opened this issue 1 year ago • 1 comments

Hi, thanks for great program, but i have question (not sure if it is a bug or a feature)

is there any way to write | in menu row (pipe character)?

I try several escaping but no one works:

Escaping
---
test row
\|
\\|
\\\|
\\\\|
"|"
'|'

Result:

Screenshot 2024-07-27 at 18 24 15

no one works. Is there any way?

matopeto avatar Jul 27 '24 16:07 matopeto

Yeah, SwiftBar is pretty bulletproof in this part; processing of | is as straightforward as it gets - it doesn't take into account any escaping whatsoever.

I consider this being a feature, not a bug.

In your case, I suggest you use the vertical pipe symbol, there are a couple in Unicode.

melonamin avatar Aug 12 '24 09:08 melonamin

OK, thanks for suggestion :)

matopeto avatar Sep 18 '24 13:09 matopeto