Skip to content

Add support for RGBA OSC response. - #202

Open
hramrach wants to merge 1 commit into
muesli:masterfrom
hramrach:master
Open

hramrach wants to merge 1 commit into
muesli:masterfrom
hramrach:master

Conversation

@hramrach

Copy link
Copy Markdown

The alpha component is ignored. This merely avoids errors and garbage in the terminal when rgba value is returned in response to a query.

The alpha component is ignored. This merely avoids errors and garbage
in the terminal when rgba value is returned in response to a query.
@hramrach

Copy link
Copy Markdown
Author
sh-5.2$ go run examples/hello-world/main.go 

	bold faint italic underline crossout
	red green yellow blue magenta cyan gray
	red green yellow blue magenta cyan gray


	Has foreground color #729fcf
	Has background color #0f0f1f
	Has dark background? true

	"Hello, world!" copied to clipboard

	Triggered a notification
	This is a link
sh-5.2$ 

before:

sh-5.2$ go run examples/hello-world/main.go 

	bold faint italic underline crossout
	red green yellow blue magenta cyan gray
	red green yellow blue magenta cyan gray


	Has foreground color #729fcf
	Has background color #000000
	Has dark background? true

	"Hello, world!" copied to clipboard

	Triggered a notification
	This is a link
^[]11;rgba:0fff/0fff/1fff/f332^[\^[[60;1Rsh-5.2$ ;1R11;rgba:0fff/0fff/1fff/f332;1R

@hramrach

Copy link
Copy Markdown
Author

echo $TERM
rxvt-unicode

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.

1 participant