[BUG] Windows + Wezterm: `fastfetch --logo .\Pictures\image.png --logo-type iterm` puts fastfetch text over image
ykhan21 opened this issue · comments
General description of bug:
- What happened:
fastfetch --logo .\Pictures\image.png --logo-type iterm
puts fastfetch text over image - What should happen:
fastfetch --logo .\Pictures\image.png --logo-type iterm
should puts fastfetch text beside the image - Fastfetch version used: fastfetch 2.11.2 (x86_64)
- Did it work in an older version:
- Where did you get the binary: scoop
- Does this issue still occurs in the latest dev build?
Often helpful information:
The content of the configuration file you use (if any):
Output of fastfetch -c ci.jsonc --format json
:
//paste here
Output of fastfetch --list-features
:
threads
vulkan
zlib
opencl
Proprietary GPU driver API
If fastfatch crashed or freezed
Paste the stacktrace here. You may get it with:
# You may need Ctrl+C to stop the process if it freezes
gdb -q -ex 'set confirm off' -ex run -ex 'bt full' -ex quit --args /path/to/fastfetch
If you are able to identify which module crashed, the strace can be helpful too
strace /path/to/fastfetch --multithreading false -s {MODULE} --pipe
If you cannot do the instructions above, please upload the core dump file:
If fastfetch is slow
Use time fastfetch --stat
to show time usage for each module.
If my image logo didn't show / work
- The image protocol you used: iterm
- The terminal you used: Wezterm
- Upload the image file here, or paste the image URL:
- Does it work with
--logo-width {WIDTH} --logo-height {HEIGHT}
? yes
If fastfetch behaves incorrectly on shell starting
- The bug is reproduceable with fresh / clean shell configuration (i.e.
fastfetch
is the single line of.zshrc
or~/.config/fish/config.fish
): - Does
sleep 1
before runningfastfetch
work?
It was a known limitation of conpty. See wez/wezterm#4240 (comment)
The workaround is specifying --logo-width {WIDTH} --logo-height {HEIGHT}
so that fastfetch can know the image size and move the cursor accordingly before printing texts.