Skip to content

Commit

Permalink
Fix docs generator
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaunLawrie committed Aug 31, 2024
1 parent 8ee2803 commit 7f34722
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion PwshSpectreConsole/public/demo/Get-SpectreDemoFeatures.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@
Get-SpectreDemoFeatures
#>
function Get-SpectreDemoFeatures {
[Reflection.AssemblyMetadata("title", "Get-SpectreDemoFeatures")]
param ()

$demoWidth = $Host.UI.RawUI.BufferSize.Width
$demoWidth = Get-HostWidth

$title = Write-SpectreHost "[underline][yellow]Spectre.Console[/][silver] Features[/][/]" -PassThru | Format-SpectreAligned -VerticalAlignment Middle
$titleTable = Format-SpectreTable -Data @{
Expand Down

0 comments on commit 7f34722

Please sign in to comment.