mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-22 05:33:45 -04:00
config: add cursor.underline-thickness
Works in pretty much the same way as ‘beam-thickness’, except that the default value is “the font’s underline thickness”. This means, that when unset, the cursor underline thickness scales with the font size. But, when explicitly set, either to a point size value, or a pixel size, it remains fixed at that size. Closes #524
This commit is contained in:
parent
af428d544f
commit
1b5c849994
6 changed files with 71 additions and 21 deletions
|
|
@ -344,9 +344,21 @@ applications can change these at runtime.
|
|||
|
||||
*beam-thickness*
|
||||
Thickness (width) of the beam styled cursor. The value is in
|
||||
_points_, and its exact value thus depends on the monitor's
|
||||
DPI. To instead specify a thickness in _pixels_, use the *px*
|
||||
suffix: e.g. *beam-thickness=2px*. Default: _1.5_
|
||||
points, and its exact value thus depends on the monitor's DPI. To
|
||||
instead specify a thickness in pixels, use the *px* suffix:
|
||||
e.g. *beam-thickness=2px*. Default: _1.5_
|
||||
|
||||
*underline-thickness*
|
||||
Thickness (height) of the underline styled cursor. The value is in
|
||||
points, and its exact value thus depends on the monitor's DPI.
|
||||
|
||||
To instead specify a thickness in pixels, use the *px* suffix:
|
||||
e.g. *underline-thickness=2px*.
|
||||
|
||||
Note that if left unset, the cursor's thickness will scale with
|
||||
the font size, while if set, the size is fixed.
|
||||
|
||||
Default: _font underline thickness_.
|
||||
|
||||
# SECTION: mouse
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue