Closed electricjones closed 3 years ago
That is because whatever context you are running the command in, is not processing the response escape codes from kitty. Add --no-response the kitty @ command to silence the responses.
Thank you for the quick reply. It appears that --no-response
is not a valid option for set-background-image
❯ kitty @ set-background-image --no-response /home/mwilson/system/dotfiles/assets/backgrounds/testing2.png
Unknown option: --no-response
Also for grins:
❯ kitty --no-response @ set-background-image /home/mwilson/system/dotfiles/assets/backgrounds/testing2.png
Unknown option: --no-response
and
❯ kitty @ set-background-image /home/mwilson/system/dotfiles/assets/backgrounds/testing2.png --no-response
Must specify exactly 1 argument(s) for set-background-image
And the context I'm using it from is directly in the kitty instance I'm wanting to change. Not over ssh or anything.
On Fri, May 14, 2021 at 09:05:11PM -0700, Michael Wilson wrote:
And the context I'm using it from is directly in the kitty instance I'm wanting to change. Not over ssh or anything.
You dont run things directly in kitty, you run things in a shell, which is itself running in kitty. And I cannot replicate your issue with either bash or zsh. And I have added --no-response to @ set-background-image in my latest commit
You dont run things directly in kitty, you run things in a shell
Thank you for clarifying. My shell is zsh.
I will update my kitty version to grab that latest commit.
Works like a charm with the latest commit. I appreciate it. Fantastic terminal emulator -- it has changed my daily workflow.
Describe the bug background_image works like a dream, but when I try to remotely change the image using
kitty @ set-background-image /path/to/file.png
, the image changes, but the terminal scrolls and endless stream ofThe same is true directly from the kitty terminal.
However, using
kitty @ set-background-image none
removed the background image and does not stream text.To Reproduce Steps to reproduce the behavior:
background_image
in kitty configkitty @ set-background-image /path/to/file.png
Expected behavior Image simply changes w/o text stream
Environment details OS: Chrome OS -- linux debian container
neofetch:
kitty --debug-config
Additional context Reproduced with minimal config: