summaryrefslogtreecommitdiff
path: root/src/tui/tcell.go
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2025-01-25 11:22:32 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2025-01-25 11:22:32 +0900
commit04017c25bb719c31bb18d43b4bcb96c4736f8d91 (patch)
treea531b4403e1882d514875acef907bf979cd8e4c8 /src/tui/tcell.go
parent02199cd6093353abd659a8218cfe2faae8e55901 (diff)
downloadfzf-04017c25bb719c31bb18d43b4bcb96c4736f8d91.tar.gz
Add 'bell' action to ring the terminal bell
Diffstat (limited to 'src/tui/tcell.go')
-rw-r--r--src/tui/tcell.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tui/tcell.go b/src/tui/tcell.go
index 0bf160c4..3c3e13fc 100644
--- a/src/tui/tcell.go
+++ b/src/tui/tcell.go
@@ -100,6 +100,10 @@ const (
BoldForce = Attr(1 << 10)
)
+func (r *FullscreenRenderer) Bell() {
+ _screen.Beep()
+}
+
func (r *FullscreenRenderer) PassThrough(str string) {
// No-op
// https://github.com/gdamore/tcell/pull/650#issuecomment-1806442846