Add 'bell' action to ring the terminal bell

This commit is contained in:
Junegunn Choi
2025-01-25 11:22:32 +09:00
parent 02199cd609
commit 04017c25bb
8 changed files with 22 additions and 0 deletions

View File

@@ -1586,6 +1586,8 @@ func parseActionList(masked string, original string, prevActions []*action, putA
} else {
return nil, errors.New("unable to put non-printable character")
}
case "bell":
appendAction(actBell)
default:
t := isExecuteAction(specLower)
if t == actIgnore {