Skip to content

Commit fd96684

Browse files
author
SteveLowe
committed
v1.0.3, add changelog
1 parent 1bc7ace commit fd96684

File tree

4 files changed

+14
-3
lines changed

4 files changed

+14
-3
lines changed

CHANGES.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
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

SLMenu/SLMenu.MenuItem.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

SLMenu/SLMenu.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
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'

Tests/SLMenu.MenuItem.Tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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" {

0 commit comments

Comments
 (0)