Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nondeterministic output? #15

Open
ghost opened this issue Jul 28, 2022 · 1 comment
Open

Nondeterministic output? #15

ghost opened this issue Jul 28, 2022 · 1 comment

Comments

@ghost
Copy link

ghost commented Jul 28, 2022

I wanted to add a startup message for my terminal and colorize it with gay; however it appears gay may have some nondeterminism in its output?

Here's an example:
2022-07-28_11-32
And here's the file used in said example:
woof.txt

I have verified that this happens with other inputs, such as simpler inputs that don't use any fancy unicode, etc.
I have verified that this problem occurs in kitty and alacritty; it seems the common denominator is gay.
Also, this happens for any color scheme, not just -t.

EDIT: Okay so using the interpolation option 2d "fixes" it, though it's still not entirely deterministic:
2022-07-28_17-26

@leo848
Copy link

leo848 commented Jan 17, 2023

See this function: the period and interpolation can be set via a command-line argument or is else chosen randomly.

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

No branches or pull requests

1 participant