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

[BUG] kitty scrollback_pager kak -ro colors #12

Open
razcore-rad opened this issue Dec 2, 2022 · 2 comments
Open

[BUG] kitty scrollback_pager kak -ro colors #12

razcore-rad opened this issue Dec 2, 2022 · 2 comments

Comments

@razcore-rad
Copy link

Version of Kakoune

v2020.09.01-1320-g94192402

Reproducer

  1. Install kitty
  2. Install starship
  3. Set kitty scrollback_pager to kak -ro

Outcome

In between lines there's this color code that isn't rendered correctly in the pager (CTRL+SHIFT+h)

Welcome to fish, the friendly interactive shell
Type help for instructions on how to use fish
]133;A�\
�~ 
❯ 
]133;A�\
�~ 
❯ 

image

Expectations

image

Additional information

No response


This is a mawww/kakoune#4801 copy-paste. I noticed I actually use this plugin and was diverted here. Thanks :)

@occivink
Copy link

occivink commented Dec 2, 2022

I wonder if this is not due to the use of the -ro flag, which prevents kak-ansi from removing the escape sequences. Could you try without? If that works a possible solution would be to only set the read-only flag once all data has been received from stdin (and the escape sequences processed).

@razcore-rad
Copy link
Author

Yea, I already tried without the -ro flag. That's not it.

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

2 participants