When I use certain tools, I occasionally get printing exceptions. #21606

Closed
opened 2026-01-31 07:49:25 +00:00 by claunia · 4 comments
Owner

Originally created by @c0mpl1ng on GitHub (Apr 30, 2024).

Windows Terminal version

1.19.10821.0

Windows build number

10.0.22631.3296

Other Software

When I use the latest version of nuclei to scan a target, printing exceptions may occur.
n1
n2

Steps to reproduce

nuclei -u url

Expected Behavior

Normally, each piece of information should be output from the beginning of a line.
n1

Actual Behavior

In fact, in some cases, several grids will be added before the printed text.
n2

Originally created by @c0mpl1ng on GitHub (Apr 30, 2024). ### Windows Terminal version 1.19.10821.0 ### Windows build number 10.0.22631.3296 ### Other Software When I use the latest version of nuclei to scan a target, printing exceptions may occur. ![n1](https://github.com/microsoft/terminal/assets/52808596/1a731313-2b64-488c-9126-714e792dd552) ![n2](https://github.com/microsoft/terminal/assets/52808596/98259e7f-901f-4be5-867d-8f2519de7985) ### Steps to reproduce nuclei -u url ### Expected Behavior Normally, each piece of information should be output from the beginning of a line. ![n1](https://github.com/microsoft/terminal/assets/52808596/f6fdc91d-802d-480a-9675-3542ffdfa0af) ### Actual Behavior In fact, in some cases, several grids will be added before the printed text. ![n2](https://github.com/microsoft/terminal/assets/52808596/cd81ebf0-f0b3-456f-871c-b94beb994ea1)
claunia added the Issue-BugResolution-ExternalNeeds-Tag-Fix labels 2026-01-31 07:49:26 +00:00
Author
Owner

@zadjii-msft commented on GitHub (Apr 30, 2024):

Does this repro if you run nuclei in the vintage console, conhost.exe, instead of the Terminal/?

This looks to me like either a newline mode not being set right, or someone only emiting \n and not \r\n, or something like that.


(I see https://github.com/projectdiscovery/nuclei/issues/5122 filed upstream, they may have a better ability to debug here)

@zadjii-msft commented on GitHub (Apr 30, 2024): Does this repro if you run `nuclei` in the vintage console, `conhost.exe`, instead of the Terminal/? This looks to me like either a newline mode not being set right, or someone only emiting `\n` and not `\r\n`, or something like that. ---- (I see https://github.com/projectdiscovery/nuclei/issues/5122 filed upstream, they may have a better ability to debug here)
Author
Owner

@c0mpl1ng commented on GitHub (Apr 30, 2024):

This problem will also occur when using the original cmd to execute nuclei, and it may not be a terminal problem.

@c0mpl1ng commented on GitHub (Apr 30, 2024): This problem will also occur when using the original cmd to execute nuclei, and it may not be a terminal problem.
Author
Owner

@zadjii-msft commented on GitHub (Apr 30, 2024):

This problem will also occur when using the original cmd to execute nuclei, and it may not be a terminal problem.

Thanks for confirming! Since that's the case, I'd reckon it's not a terminal bug. I'll close this in favor of the upstream bug. Thanks!

/dup https://github.com/projectdiscovery/nuclei/issues/5122

@zadjii-msft commented on GitHub (Apr 30, 2024): > This problem will also occur when using the original cmd to execute nuclei, and it may not be a terminal problem. Thanks for confirming! Since that's the case, I'd reckon it's not a terminal bug. I'll close this in favor of the upstream bug. Thanks! /dup https://github.com/projectdiscovery/nuclei/issues/5122
Author
Owner

@microsoft-github-policy-service[bot] commented on GitHub (Apr 30, 2024):

Hi! We've identified this issue as a duplicate of one that exists on somebody else's Issue Tracker. Please make sure you subscribe to the referenced external issue for future updates. Thanks for your report!

@microsoft-github-policy-service[bot] commented on GitHub (Apr 30, 2024): Hi! We've identified this issue as a duplicate of one that exists on somebody else's Issue Tracker. Please make sure you subscribe to the referenced external issue for future updates. Thanks for your report! <!-- Policy app identification https://img.shields.io/static/v1?label=PullRequestIssueManagement. -->
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#21606