Skip to content

Commit a3d7834

Browse files
🩹 [Patch]: Update raw UI access method for window and buffer size in main script
1 parent aef88c7 commit a3d7834

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/main.ps1

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

4-
$rawUI.WindowSize.Width = 500
5-
$rawUI.BufferSize.Width = 500
4+
$Host.UI.RawUI.WindowSize.Width = 500
5+
$Host.UI.RawUI.BufferSize.Width = 500
66

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

0 commit comments

Comments
 (0)