Skip to content

Commit

Permalink
Terminal: Unveil /dev/beep to make the "Audible bell" mode work
Browse files Browse the repository at this point in the history
  • Loading branch information
ninadsachania authored and nico committed Nov 11, 2024
1 parent 201d366 commit 0213ab8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Userland/Applications/Terminal/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -452,6 +452,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
TRY(Core::System::unveil("/bin/utmpupdate", "x"));
TRY(Core::System::unveil("/etc/FileIconProvider.ini", "r"));
TRY(Core::System::unveil("/tmp/session/%sid/portal/launch", "rw"));
TRY(Core::System::unveil("/dev/beep", "rw"));
TRY(Core::System::unveil(nullptr, nullptr));

auto modified_state_check_timer = Core::Timer::create_repeating(500, [&] {
Expand Down

0 comments on commit 0213ab8

Please sign in to comment.