diff --git a/public/Write-ConsoleLabel.ps1 b/public/Write-ConsoleLabel.ps1 index 8ccd6c5..7baea1e 100644 --- a/public/Write-ConsoleLabel.ps1 +++ b/public/Write-ConsoleLabel.ps1 @@ -1,5 +1,6 @@ # New-Alias 'Label' -Value 'Write-NinLabel' -Description 'visual break using colors' -ErrorAction Ignore +# Set-Alias 'Br' -Value 'Ninmonkey.Console\Write-ConsoleNewline' -Description 'Line breaks' -PassThru | Join-String function Write-ConsoleLabel { <# @@ -183,7 +184,7 @@ function Write-ConsoleLabel { # '' * $LinesBefore # } - Br -Count $LinesBefore + gcm Ninmonkey.Console\Write-ConsoleNewline -Count $LinesBefore # tofix: It's actually type object unless no property param @@ -207,7 +208,7 @@ function Write-ConsoleLabel { $strText = New-Text @newTextSplat_Text $FullString = $StrLabel, $Separator, $StrText | Join-String -Sep '' $FullString - Br -Count $LinesAfter + gcm Ninmonkey.Console\Write-ConsoleNewline -Count $LinesAfter # if ($LinesAfter -gt 0) { # "`n" * $LinesAfter