1.18 - PowerShell clear command results in non-rendered prompt using Atlas Engine #19992

Closed
opened 2026-01-31 06:59:46 +00:00 by claunia · 11 comments
Owner

Originally created by @JanDeDobbeleer on GitHub (May 27, 2023).

Windows Terminal version

1.18.1421.0

Windows build number

10.0.22000.0

Other Software

Oh My Posh v16.9.0

Steps to reproduce

Oh My Posh recently added support for FTCS marks which seems to work really well with the latest preview release of Terminal, VSCode and iTerm. However, when typing clear, the entire prompt disappears and you can see the multiple cursors when typing (seems that way). Waiting a few seconds, or removing focus from Windows Terminal, it renders the prompt again. This behaviour wasn't there in 1.17.

https://github.com/microsoft/terminal/assets/2492783/00c657d5-42b7-4113-a1ff-07837c4b4937

This seems to be an issue with the new Atlas Engine as I can't reproduce it when it's not enabled.

EDIT: even without printing the marks, the behaviour is there.

Expected Behavior

It displays the prompt correctly.

Actual Behavior

There's an invisible prompt at the top (and consequent prompts as well for a few seconds).

Originally created by @JanDeDobbeleer on GitHub (May 27, 2023). ### Windows Terminal version 1.18.1421.0 ### Windows build number 10.0.22000.0 ### Other Software Oh My Posh v16.9.0 ### Steps to reproduce Oh My Posh recently added support for FTCS marks which seems to work really well with the latest preview release of Terminal, VSCode and iTerm. However, when typing clear, the entire prompt disappears and you can see the multiple cursors when typing (seems that way). Waiting a few seconds, or removing focus from Windows Terminal, it renders the prompt again. This behaviour wasn't there in 1.17. https://github.com/microsoft/terminal/assets/2492783/00c657d5-42b7-4113-a1ff-07837c4b4937 This seems to be an issue with the new Atlas Engine as I can't reproduce it when it's not enabled. EDIT: even without printing the marks, the behaviour is there. ### Expected Behavior It displays the prompt correctly. ### Actual Behavior There's an invisible prompt at the top (and consequent prompts as well for a few seconds).
claunia added the Issue-BugResolution-DuplicateProduct-TerminalArea-AtlasEngine labels 2026-01-31 06:59:46 +00:00
Author
Owner

@elbertcastaneda commented on GitHub (May 27, 2023):

I have the same problem, but when I recorded my screen with ScreenToGif to show the error, the error is not captured but in my screen I am seeing the error,

Here the result with ScreenToGif:

terminal-bugfix

Here the error recorded from my phone because as I mentioned if I record my screen with software the error is not showed

https://github.com/microsoft/terminal/assets/3514681/313b7128-3e2d-4bfc-8e03-b801b6b635f6

and also we have this error sometimes:

Screenshot 2023-05-27 022843

@elbertcastaneda commented on GitHub (May 27, 2023): I have the same problem, but when I recorded my screen with ScreenToGif to show the error, the error is not captured but in my screen I am seeing the error, Here the result with ScreenToGif: ![terminal-bugfix](https://github.com/microsoft/terminal/assets/3514681/7800cb8a-c209-442f-8896-ce161618a428) Here the error recorded from my phone because as I mentioned if I record my screen with software the error is not showed https://github.com/microsoft/terminal/assets/3514681/313b7128-3e2d-4bfc-8e03-b801b6b635f6 and also we have this error sometimes: ![Screenshot 2023-05-27 022843](https://github.com/microsoft/terminal/assets/3514681/166fb343-19f2-45c2-999d-0bb856a8bac1)
Author
Owner

@zadjii-msft commented on GitHub (May 27, 2023):

What font is that? this might be #15416 or one of the other few rendering glitches we hotfixed

@zadjii-msft commented on GitHub (May 27, 2023): What font is that? this might be #15416 or one of the other few rendering glitches we hotfixed
Author
Owner

@floh96 commented on GitHub (May 27, 2023):

@zadjii-msft i have the same problem and I'm using the following font CaskaydiaCove Nerd Font so in my case it should be fixed by #15403.

@floh96 commented on GitHub (May 27, 2023): @zadjii-msft i have the same problem and I'm using the following font CaskaydiaCove Nerd Font so in my case it should be fixed by #15403.
Author
Owner

@JanDeDobbeleer commented on GitHub (May 27, 2023):

What font is that?

In my case that's Victor Mono Nerd Font.

@JanDeDobbeleer commented on GitHub (May 27, 2023): > What font is that? In my case that's Victor Mono Nerd Font.
Author
Owner

@elbertcastaneda commented on GitHub (May 27, 2023):

What font is that? this might be #15416 or one of the other few rendering glitches we hotfixed

In my case it is Fira Nerd Font.

@elbertcastaneda commented on GitHub (May 27, 2023): > What font is that? this might be #15416 or one of the other few rendering glitches we hotfixed In my case it is Fira Nerd Font.
Author
Owner

@rkeithhill-keysight commented on GitHub (May 28, 2023):

I see the issue. I also cannot capture a screenshot of the problem since that causes the problem to go away. And I'm also using CaskaydiaCove Nerd Font.

@rkeithhill-keysight commented on GitHub (May 28, 2023): I see the issue. I also cannot capture a screenshot of the problem since that causes the problem to go away. And I'm also using CaskaydiaCove Nerd Font.
Author
Owner

@JanDeDobbeleer commented on GitHub (May 28, 2023):

@rkeithhill-keysight true, I noticed the video I posted above also doesn't show the issue clearly and you can't screenshot either because I'm too slow 😂

@JanDeDobbeleer commented on GitHub (May 28, 2023): @rkeithhill-keysight true, I noticed the video I posted above also doesn't show the issue clearly and you can't screenshot either because I'm too slow 😂
Author
Owner

@lhecker commented on GitHub (May 30, 2023):

Once again, I'm sorry for causing this issue! It was fixed by #15403 which has shipped in v1.18.1462.0. It should also already be available via the app store. I hope it works now!

@lhecker commented on GitHub (May 30, 2023): Once again, I'm sorry for causing this issue! It was fixed by #15403 which has shipped in [v1.18.1462.0](https://github.com/microsoft/terminal/releases/tag/v1.18.1462.0). It should also already be available via the app store. I hope it works now!
Author
Owner

@JanDeDobbeleer commented on GitHub (May 30, 2023):

@lhecker don't feel bad, happens to everyone (trust me, I know). Also, confirmed fixed on my end!

@JanDeDobbeleer commented on GitHub (May 30, 2023): @lhecker don't feel bad, happens to everyone (trust me, I know). Also, confirmed fixed on my end!
Author
Owner

@elbertcastaneda commented on GitHub (May 30, 2023):

@lhecker no problem at all, in fact thanks to you for solving the issue, you are the best. I will do feedback if I find something new regarding this.

@elbertcastaneda commented on GitHub (May 30, 2023): @lhecker no problem at all, in fact thanks to you for solving the issue, you are the best. I will do feedback if I find something new regarding this.
Author
Owner

@elbertcastaneda commented on GitHub (May 31, 2023):

Yeah it is working right now, thanks a lot for your help @lhecker

@elbertcastaneda commented on GitHub (May 31, 2023): Yeah it is working right now, thanks a lot for your help @lhecker
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#19992