Skip to content

Commit aef88c7

Browse files
🩹 [Patch]: Set fixed window and buffer size for raw UI in main script
1 parent 1284830 commit aef88c7

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

scripts/main.ps1

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
[CmdletBinding()]
22
param()
33

4-
$rawUI = $Host.UI.RawUI
5-
$rawUI
6-
7-
$rawUI.WindowSize
8-
$rawUI.BufferSize
4+
$rawUI.WindowSize.Width = 500
5+
$rawUI.BufferSize.Width = 500
96

107
$env:PSMODULE_GITHUB_SCRIPT = $true
118
Write-Host "┏━━━━━┫ GitHub-Script ┣━━━━━┓"

0 commit comments

Comments
 (0)