diff options
author | Kirill Chibisov <contact@kchibisov.com> | 2022-06-29 18:12:32 +0300 |
---|---|---|
committer | delthas <delthas@dille.cc> | 2022-08-01 02:54:30 +0200 |
commit | e8ed8e7e13134ee7fc8ac116d58efc55813632a1 (patch) | |
tree | 672ff545386a4b9cd2c0bc0516d7362e6242f62d /ui | |
parent | Add support for hex colors (diff) |
Add a config option to beep on highlight
This will allow to bring user attention when you are getting
highlighted.
Diffstat (limited to 'ui')
-rw-r--r-- | ui/ui.go | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -421,6 +421,10 @@ func (ui *UI) Size() (int, int) { return ui.screen.Size() } +func (ui *UI) Beep() { + ui.screen.Beep() +} + func (ui *UI) Draw(members []irc.Member) { w, h := ui.screen.Size() |