diff --git a/_example/dashboard.go b/_example/dashboard.go index b59c325..bd51c27 100644 --- a/_example/dashboard.go +++ b/_example/dashboard.go @@ -30,7 +30,7 @@ func main() { } }) - strs := []string{"[0] gizak/termui", "[1] editbox.go", "[2] iterrupt.go", "[3] keyboard.go", "[4] output.go", "[5] random_out.go", "[6] dashboard.go", "[7] nsf/termbox-go"} + strs := []string{"[0] gizak/termui", "[1] editbox.go", "[2] interrupt.go", "[3] keyboard.go", "[4] output.go", "[5] random_out.go", "[6] dashboard.go", "[7] nsf/termbox-go"} list := ui.NewList() list.Items = strs list.ItemFgColor = ui.ColorYellow diff --git a/_example/theme.go b/_example/theme.go index f06b3d0..f77a6d7 100644 --- a/_example/theme.go +++ b/_example/theme.go @@ -25,7 +25,7 @@ func main() { p.Width = 50 p.BorderLabel = "Text Box" - strs := []string{"[0] gizak/termui", "[1] editbox.go", "[2] iterrupt.go", "[3] keyboard.go", "[4] output.go", "[5] random_out.go", "[6] dashboard.go", "[7] nsf/termbox-go"} + strs := []string{"[0] gizak/termui", "[1] editbox.go", "[2] interrupt.go", "[3] keyboard.go", "[4] output.go", "[5] random_out.go", "[6] dashboard.go", "[7] nsf/termbox-go"} list := ui.NewList() list.Items = strs list.BorderLabel = "List" diff --git a/list.go b/list.go index ea6635e..5a59215 100644 --- a/list.go +++ b/list.go @@ -14,7 +14,7 @@ import "strings" strs := []string{ "[0] github.com/gizak/termui", "[1] editbox.go", - "[2] iterrupt.go", + "[2] interrupt.go", "[3] keyboard.go", "[4] output.go", "[5] random_out.go",