terminal icon indicating copy to clipboard operation
terminal copied to clipboard

Custom Visual Bell

Open vanoreo opened this issue 3 years ago • 2 comments

Allowing User Customization of the Visual Bell

I came across this thread in which custom bell sounds were added, and realized that it could also be useful to customize the visual bell as well. I think the most straightforward customizations would be:

  1. Allow changing the color, intensity, and duration of the default behavior (for instance, a normally black terminal flashing red briefly instead of grey) and/or
  2. Adding, or overriding any background image with one indicating failure (see below) image

vanoreo avatar Sep 04 '22 04:09 vanoreo

AKA the jumpscare bell.

seriously though this would be very useful to anyone who doesn't benefit from an audible bell.

TSheahan avatar Sep 12 '22 23:09 TSheahan

I'm not totally opposed to this, for sure. Seems like it's got great potential. But we'd need to figure out how the settings should be expressed.

Initial guess:

"visualBell": {
  "duration": 200,
  "color": "#ff0000",
  "intensity": 80,
  "backgroundImage": "walt.gif",
  "backgroundImageOpacity": 25
}

And those would only apply if you've got visual bells enabled. Idk. Just a thought.

If someone wants to come along and help define this, I'd be all ears.

zadjii-msft avatar Sep 13 '22 11:09 zadjii-msft