mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-04 14:46:03 +00:00
...
This commit is contained in:
parent
0037e3a97d
commit
79cd4d3ee8
1 changed files with 2 additions and 2 deletions
|
|
@ -183,9 +183,9 @@ features of the graphics protocol:
|
|||
#!/bin/sh
|
||||
|
||||
transmit_png() {
|
||||
if command base64 --help 2>&1 | grep -q -- '--wrap='; then # Linux (GNU coreutils)
|
||||
if command base64 --help 2>&1 | grep -q -- '-w,'; then # Linux (GNU coreutils)
|
||||
base64_flag="-w"
|
||||
elif command base64 --help 2>&1 | grep -q -- '--break '; then # macOS/BSD
|
||||
elif command base64 --help 2>&1 | grep -q -- '-b,'; then # macOS/BSD
|
||||
base64_flag="-b"
|
||||
else
|
||||
echo "Unknown base64 command: cannot set line width" >&2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue