Skip to content

bell handling #3316

@jerch

Description

@jerch

(Coming from #3314.)

Consolidate bell handling as follows:

  • Strip sound output handling from xterm.js.
  • Propagate onBell as interface to hook into the bell (make sound output an outer env problem). Here integrators can do whatever they want or suits their purpose.
  • Move current direct sound output to a default bell addon, that keeps working in browsers as now, but listens on onBell. If demanded, we can later extend the addon by other bell metaphors, like a visual bell and such.

This cannot be done until next major release version (v5), as it involves changes to the terminal options.

Metadata

Metadata

Assignees

Labels

area/apibreaking-changeBreaks API and requires a major version bumptype/enhancementFeatures or improvements to existing features

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions