Neofetch colors don't withstand resize #10062

Closed
opened 2026-01-31 02:11:30 +00:00 by claunia · 4 comments
Owner

Originally created by @Passific on GitHub (Aug 7, 2020).

Environment

Windows build number: Microsoft Windows [Version 10.0.18362.959]
Windows Terminal version: 1.1.2021.0
WSL: Debian GNU/Linux 10 (buster) on Windows 10 x86_64

Steps to reproduce

  1. install neofetch on WSL Debian
  2. run neofetch
  3. resize the Windows Terminal window

Expected behavior

Colored boxes are part of the neofetch output, and appears correctly.
If you resize the windows they correctly stay displayed.

Actual behavior

Colored boxes are part of the neofetch output, and appears correctly.
image

But if you resize the windows they vanish instantly...
image

Originally created by @Passific on GitHub (Aug 7, 2020). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> <!-- This bug tracker is monitored by Windows Terminal development team and other technical folks. **Important: When reporting BSODs or security issues, DO NOT attach memory dumps, logs, or traces to Github issues**. Instead, send dumps/traces to secure@microsoft.com, referencing this GitHub issue. If this is an application crash, please also provide a Feedback Hub submission link so we can find your diagnostic data on the backend. Use the category "Apps > Windows Terminal (Preview)" and choose "Share My Feedback" after submission to get the link. Please use this form and describe your issue, concisely but precisely, with as much detail as possible. --> # Environment ```none Windows build number: Microsoft Windows [Version 10.0.18362.959] Windows Terminal version: 1.1.2021.0 WSL: Debian GNU/Linux 10 (buster) on Windows 10 x86_64 ``` # Steps to reproduce 1. install neofetch on WSL Debian 1. run `neofetch` 1. resize the Windows Terminal window # Expected behavior Colored boxes are part of the neofetch output, and appears correctly. If you resize the windows they correctly stay displayed. # Actual behavior Colored boxes are part of the neofetch output, and appears correctly. ![image](https://user-images.githubusercontent.com/2100205/89657184-f09d7380-d8cc-11ea-81d4-5dc965627231.png) But if you resize the windows they vanish instantly... ![image](https://user-images.githubusercontent.com/2100205/89657248-0dd24200-d8cd-11ea-9082-0df37bfe966a.png)
claunia added the Resolution-Duplicate label 2026-01-31 02:11:30 +00:00
Author
Owner

@zadjii-msft commented on GitHub (Aug 7, 2020):

Oh man, you've stumbled across one of the oldest bugs in the console: #32

There's more info in #4300:

Since the console buffer can't know the difference between "no character" and "space", when the console buffer resizes, it doesn't know to copy that color information over.

/dup #32

@zadjii-msft commented on GitHub (Aug 7, 2020): Oh man, you've stumbled across one of the oldest bugs in the console: #32 There's more info in #4300: > Since the console buffer can't know the difference between "no character" and "space", when the console buffer resizes, it doesn't know to copy that color information over. /dup #32
Author
Owner

@ghost commented on GitHub (Aug 7, 2020):

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost commented on GitHub (Aug 7, 2020): Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!
Author
Owner

@Passific commented on GitHub (Aug 7, 2020):

My bad, I tried the resize and neofetch keywords without luck, so I posted the issue.

@Passific commented on GitHub (Aug 7, 2020): My bad, I tried the `resize` and `neofetch` keywords without luck, so I posted the issue.
Author
Owner

@zadjii-msft commented on GitHub (Aug 7, 2020):

No problems! That one's fairly tricky to find in the list of issues ☺️

@zadjii-msft commented on GitHub (Aug 7, 2020): No problems! That one's fairly tricky to find in the list of issues ☺️
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#10062