You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running a script in Scoop/lib/install.ps1, the line
Write-Host"Running $HookType script..."-NoNewline
outputs a prompt without a newline, which can cause the next command output to appear directly after the prompt, resulting in unclear or hard-to-read console output. For example:
Running pre_install script...OK
Expected Behavior
The prompt should appear clearly separated from subsequent output. Typically, this is achieved by omitting the -NoNewline parameter, so the user can easily distinguish the prompt from the command result.
This may affect the overall readability and user experience, especially for users running scripts in terminals that don’t visually separate outputs well.
Possible Solution
Consider removing the -NoNewline flag from Write-Host at this location, or adding a newline character after the message. This will make the output easier to read and more consistent with typical command-line UX.
System details
Windows version: [Please fill in, e.g. 10, 11] OS architecture: [Please fill in, e.g. 64bit, arm64] PowerShell version: [Output of "$($PSVersionTable.PSVersion)"] Additional software: [(optional) e.g. ConEmu, Git]
Scoop Configuration
// Paste your configuration hereN/A
Summary:
This issue is about improving console output clarity by adjusting a Write-Host usage in install.ps1 (line 734). See the discussion for more context: #6347
Bug Report
Discussed in #6347
Current Behavior
When running a script in
Scoop/lib/install.ps1, the lineoutputs a prompt without a newline, which can cause the next command output to appear directly after the prompt, resulting in unclear or hard-to-read console output. For example:
Expected Behavior
The prompt should appear clearly separated from subsequent output. Typically, this is achieved by omitting the
-NoNewlineparameter, so the user can easily distinguish the prompt from the command result.Expected output example:
Additional context/output
Scoop/lib/install.ps1
Line 734 in 859d1db
Possible Solution
Consider removing the
-NoNewlineflag fromWrite-Hostat this location, or adding a newline character after the message. This will make the output easier to read and more consistent with typical command-line UX.System details
Windows version: [Please fill in, e.g. 10, 11]
OS architecture: [Please fill in, e.g. 64bit, arm64]
PowerShell version: [Output of
"$($PSVersionTable.PSVersion)"]Additional software: [(optional) e.g. ConEmu, Git]
Scoop Configuration
Summary:
This issue is about improving console output clarity by adjusting a
Write-Hostusage ininstall.ps1(line 734). See the discussion for more context: #6347