File tree Expand file tree Collapse file tree 4 files changed +14
-3
lines changed
Expand file tree Collapse file tree 4 files changed +14
-3
lines changed Original file line number Diff line number Diff line change 1+ # SLMenu change log
2+
3+ This file is used to list changes made in each version of SLMenu.
4+
5+ ## 1.0.3
6+
7+ - Add -Arguments parameter to New-SLMenuItem that will be passed to the ScriptBlock when using Show-SLMenuExecute
8+ - Fixed a bug when drawing the menu when the first menu item was not selectable.
9+
10+ ## 1.0.2
11+ - Initial release
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ function New-SLMenuItemList {
6868# This should be a ScriptBlock when calling Show-SLMenuExecute
6969#
7070# . PARAMETER Arguments
71- # Arrary of objects to be passed to Data as arguments, if it is a ScriptBlock and Show-SLMenuExecute is used.
71+ # Array of objects to be passed to Data as arguments, if it is a ScriptBlock and Show-SLMenuExecute is used.
7272#
7373# . PARAMETER ExtraKeys
7474# Extra Characters that can be pressed to select this MenuItem
Original file line number Diff line number Diff line change 11@ {
2- ModuleVersion = ' 1.0.2 '
2+ ModuleVersion = ' 1.0.3 '
33 Description = ' Text User Interface Module for Powershell Console'
44
55 Author = ' Steve Lowe'
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ Describe "SLMenuItems" {
5555 (New-SLMenuItem - Key ' -' ).IsSeparator | Should Be $true
5656 }
5757
58- It " -comment returns comment" {
58+ It " -Comment returns comment" {
5959 (New-SLMenuItem - Comment).IsComment | Should Be $true
6060 }
6161 It " space key returns separator" {
You can’t perform that action at this time.
0 commit comments