From 1b5c8499947b2bb9fa9fe17af6540444984a5949 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Tue, 18 May 2021 18:52:10 +0200 Subject: config: add cursor.underline-thickness MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- doc/foot.ini.5.scd | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) (limited to 'doc') diff --git a/doc/foot.ini.5.scd b/doc/foot.ini.5.scd index cb4b4f08..eb55ba80 100644 --- a/doc/foot.ini.5.scd +++ b/doc/foot.ini.5.scd @@ -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 -- cgit v1.3