Skip to content

Commit 766ce01

Browse files
author
mritd
committed
fix(bell): 修正回车后响铃问题
修正回车后响铃问题 Signed-off-by: mritd <[email protected]>
1 parent 8084821 commit 766ce01

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pkg/prompt/prompt.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@ func (p *Prompt) Run() string {
118118
FuncFilterInputRune: filterInput,
119119
})
120120
util.CheckAndExit(err)
121-
l.Terminal.Bell()
122121

123122
l.Config.SetListener(func(line []rune, pos int, key rune) (newLine []rune, newPos int, ok bool) {
124123
// Real-time verification

0 commit comments

Comments
 (0)