terminal/src/cascadia
James Holderness 09cc5f492c
Add support for the BEL control in Windows Terminal (#7679)
This commit makes the Windows Terminal play an audible sound when the
`BEL` control character is output.

The `BEL` control was already being forwarded through conpty, so it was
just a matter of hooking up the `WarningBell` dispatch method to
actually play a sound. I've used the `PlaySound` API to output the sound
configured for the "Critical Stop" system event (aka _SystemHand_),
since that is the sound used in conhost.

## Validation

I've manually confirmed that the terminal produces the expected sound
when executing `echo ^G` in a cmd shell, or `printf "\a"` in a WSL bash
shell.

References:
* There is a separate issue (#1608) to deal with configuring the `BEL`
  to trigger visual forms of notification.
* There is also an issue (#2360) requesting an option to disable the
  `BEL`.

Closes #4046
2020-09-30 18:00:06 -07:00
..
CascadiaPackage Revert "Update to a newer MUX prerelease; remove workaround for compact sizing (#7447)" 2020-09-08 09:25:30 -07:00
inc Update ColorScheme with Json Serializer and color table API (#7609) 2020-09-17 11:27:46 -07:00
LocalTests_TerminalApp Update ColorScheme with Json Serializer and color table API (#7609) 2020-09-17 11:27:46 -07:00
PublicTerminalCore Update clang-format to 10.0 (#7389) 2020-08-25 17:15:43 +00:00
ShellExtension Make the Shell Extension methods STDMETHODIMP (#6238) 2020-05-28 14:09:52 -07:00
TerminalApp Add support for the BEL control in Windows Terminal (#7679) 2020-09-30 18:00:06 -07:00
TerminalAzBridge Fix parallel builds by specifying the application type for WAP (#7783) 2020-09-30 13:25:50 -07:00
TerminalConnection Destruct ConptyConnection on a background thread (#7575) 2020-09-09 23:17:33 +00:00
TerminalControl Add support for the BEL control in Windows Terminal (#7679) 2020-09-30 18:00:06 -07:00
TerminalCore Add support for the BEL control in Windows Terminal (#7679) 2020-09-30 18:00:06 -07:00
UnitTests_TerminalCore Fix failing HyperlinkIdConsistency unit test (#7655) 2020-09-17 16:52:42 +00:00
ut_app Update ColorScheme with Json Serializer and color table API (#7609) 2020-09-17 11:27:46 -07:00
WindowsTerminal Fix parallel builds by specifying the application type for WAP (#7783) 2020-09-30 13:25:50 -07:00
WindowsTerminalUniversal Revert "Update to a newer MUX prerelease; remove workaround for compact sizing (#7447)" 2020-09-08 09:25:30 -07:00
WinRTUtils Add support for the Command Palette (#6635) 2020-06-26 20:38:02 +00:00
WpfTerminalControl Expose selection background and alpha through the WPF control (#7339) 2020-08-18 16:11:41 -07:00
WpfTerminalTestNetCore/WpfTerminalTestNetCore Fix 3 different bugs in the WPF control (#6464) 2020-06-11 18:05:43 +00:00
wt Build and ship an actual binary named wt that just launches WT (#6860) 2020-07-10 22:41:37 +00:00
CascadiaResources.build.items Add a new appxmanifest for preview (#5774) 2020-05-07 16:00:56 +00:00