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

Rendering issue (I think?) #104

Closed
peyloride opened this issue Aug 4, 2017 · 11 comments
Closed

Rendering issue (I think?) #104

peyloride opened this issue Aug 4, 2017 · 11 comments

Comments

@peyloride
Copy link

peyloride commented Aug 4, 2017

There is a flat lines on every line. I dont know how can i really explain this so i take screenshot.
http://imgur.com/a/3rvwp

Also, when i run kitty within another terminal; i see these messages pop:

[PARSE ERROR] Unknown OSC code: 13
[PARSE ERROR] Unknown OSC code: 14
[PARSE ERROR] Unknown OSC code: 708

I did try both compiling by hand and use AUR package, result was same.

Thanks for your hardwork.

My specs:
ArchLinux + i3-gaps + Polybar
Intel Celeron N3150 Processor ( Acer ES1-331-C2TZ )

@kovidgoyal
Copy link
Owner

I suspect this has something to do with your shell. What shell are you using? Try it with a default config and see if the problem goes away.

@peyloride
Copy link
Author

Thanks for your support,

I'm using zsh shell with oh-my-zsh(default) config. I did try launching kitty from bash terminal and switching to bash terminal in kitty. But no luck.

@kovidgoyal
Copy link
Owner

The OSC codes 13 and 14 are for changing mouse pointer colors. I have no idea what OSC 708 is, never heard of it. Something in your shell config is outputting those codes, and probably also codes that are causing the underlining of blank cells.

Try running

kitty cat

which will run kitty with the cat program as the shell. Do you still get lines?

@peyloride
Copy link
Author

As you mentioned above, i tried kitty cat, and there is no blank cell underlining.

@kovidgoyal
Copy link
Owner

So it is something in your shell config. Hard for me to say what that might be. I use zsh myself, without issues, but not oh-my-zsh.

@kovidgoyal
Copy link
Owner

You can use the --dump-bin option to store all the bytes kitty receives and upload it here. I can take a look at it and see what exact control sequence is causing the underlining. There is a chance that kitty is misinterpreting a control sequence used for something else.

@peyloride
Copy link
Author

I did try --dump-bin but i think you misspell it since it doesnt recognize that command. So i look at --help and saw --dump-bytes and used it. I attached that file.

Thanks for your interest.
dump.zip

@peyloride
Copy link
Author

I just found what causes the problem.

Wal script (github: https://github.com/dylanaraps/wal) does that. I dont know can you make kitty wal compatible (or opposite).

@kovidgoyal
Copy link
Owner

According to that github page, wal is deprecated. Maybe try replacing it with pywal as its author recommends.

@kovidgoyal
Copy link
Owner

There is indeed a bug in the way kitty handles the escape codes to set the default foreground and background colors, I'll fix it soon.

@blakat360
Copy link

I get [PARSE ERROR] Unknown OSC code: 708 when running the autogenerated (by nix-colors) theming script from bash, zsh, fish and sh in kitty.

On linux, this does not affect the user experience. On mac, this comes with a sequence of "-ne" being spammed onto the screen.

I have made an associated issue here.

Could the bug still be present in kitty?

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

3 participants