Skip to content

BEL — Bell

Byte0x07
MnemonicBEL
Otty support

Description

Rings the terminal bell. Modern terminals translate the byte into one of three behaviours depending on user preference:

  • Audible — plays the system alert sound.
  • Visual — briefly flashes the focused pane.
  • None — silent.

In Otty, configure with bell = visual | audio | both | none. BEL is also accepted as a legacy OSC string terminator in place of ESC \.

Example

bash
printf '\a'              # \a is the C escape for BEL
  • Notifications — bell config and desktop notifications.
  • OSC — BEL also terminates an OSC payload.

Otty