Support notifications via terminal bell (#227)

Co-authored-by: Benjamin Grosse <ste3ls@gmail.com>
This commit is contained in:
Ulyssa
2024-03-24 10:19:34 -07:00
committed by GitHub
parent db9cb92737
commit 99996e275b
6 changed files with 78 additions and 27 deletions

View File

@@ -28,6 +28,7 @@ use crate::{
ApplicationSettings,
DirectoryValues,
Notifications,
NotifyVia,
ProfileConfig,
SortOverrides,
TunableValues,
@@ -187,7 +188,11 @@ pub fn mock_tunables() -> TunableValues {
open_command: None,
username_display: UserDisplayStyle::Username,
message_user_color: false,
notifications: Notifications { enabled: false, show_message: None },
notifications: Notifications {
enabled: false,
via: NotifyVia::Desktop,
show_message: true,
},
image_preview: None,
user_gutter_width: 30,
}