Enable the use of flash as visual bell

With this patch we can configure flash in the bell section. The colors
section allow now to configure the color and translucency of the
flash.
This commit is contained in:
Raimund Sacherer 2023-10-07 19:37:04 +02:00 committed by Daniel Eklöf
parent c50b1f9900
commit 8273962372
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
8 changed files with 60 additions and 2 deletions

View file

@ -394,6 +394,11 @@ Note: do not set *TERM* here; use the *term* option in the main
Default: _no_
*visual*
When set to _yes_, foot will flash terminal window.
Default: _no_
*command*
When set, foot will execute this command when *BEL* is received.
Default: none
@ -609,6 +614,17 @@ can configure the background transparency with the _alpha_ option.
https://en.wikipedia.org/wiki/ANSI_escape_code#8-bit for an
explanation of the remainder.
*flash*
Color to use for the terminal window flash.
Default: _7f7f00_.
*flash_alpha*
Flash translucency. A value in the range 0.0-1.0, where 0.0
means completely transparent, and 1.0 is opaque.
Default: _0.5_.
*alpha*
Background translucency. A value in the range 0.0-1.0, where 0.0
means completely transparent, and 1.0 is opaque. Default: _1.0_.