Skip to content

Commit dc58240

Browse files
committed
chore(lint): help msg unused param
1 parent 7590e13 commit dc58240

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

help/help.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ func New() Model {
9696
var NewModel = New
9797

9898
// Update helps satisfy the Bubble Tea Model interface. It's a no-op.
99-
func (m Model) Update(msg tea.Msg) (Model, tea.Cmd) {
99+
func (m Model) Update(_ tea.Msg) (Model, tea.Cmd) {
100100
return m, nil
101101
}
102102

textinput/textinput.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,8 @@ func (m Model) echoTransform(v string) string {
516516
return strings.Repeat(string(m.EchoCharacter), rw.StringWidth(v))
517517
case EchoNone:
518518
return ""
519-
519+
case EchoNormal:
520+
return v
520521
default:
521522
return v
522523
}

0 commit comments

Comments
 (0)