gen2brain / beeep

Go cross-platform library for sending desktop notifications, alerts and beeps
BSD 2-Clause "Simplified" License
1.43k stars 89 forks source link

The terminal is cleared on Windows 11 when sending a notification #57

Open johan-perso opened 1 year ago

johan-perso commented 1 year ago

When sending a notification on Windows 11, all the content of the terminal is cleared while sending it. Me and my friend @el2zay can reproduce it with the examples in the README

el2zay commented 1 year ago

There's no problem with this on macOS, but we forgot to mention that beeep isn't the only lib to do this. There's also a clear problem in go-toast after a notification has been sent.

gen2brain commented 1 year ago

@el2zay The beeep is using go-toast on Windows. There are some fallback methods for old versions though.

You don't have any problems like in https://github.com/gen2brain/beeep/issues/51? For some, go-toast doesn't work at all. I still didn't found time to install Windows 11 in VM so I can test.

johan-perso commented 1 year ago

Personally, go-toast seems to work on Windows 11, but it didn't manage to show accented characters, and it still clears the terminal.

https://github.com/gen2brain/beeep/assets/41506568/7523889b-8693-4bf0-aab6-d293d1b97746

el2zay commented 1 year ago

@gen2brain ?