docs/vt/control/bel.mdx
The purpose of the bell sequence is to raise the attention of the user.
Historically, this would ring a physical bell. Today, many alternate behaviors are acceptable:
Normally, the bell behavior is configurable and can be disabled.
The BEL character is also a valid terminating character for
OSC sequences, although ST is preferred. If BEL is the
terminating character for an OSC sequence, any responses should
also terminate with the BEL character.1
This control character is implemented in Ghostty, although by default
most behaviors that Ghostty implements are disabled. See the documentation
for the bell-features configuration
option for more information.
The BEL character can be used as an OSC terminator. If it is used as an OSC
terminator, Ghostty will terminate any responses with the
BEL character.