From 7ce767ab87ca915b2ac4023cc95dbda81fe87abd Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Fri, 30 Apr 2021 20:31:47 +0200 Subject: config: add ‘beam-thickness’ option MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Rename cursor.style value ‘bar’ to ‘beam’. ‘bar’ remains recognized, but should eventually be deprecated and then removed. * Add ‘cursor.beam-thickness’ option, a pt-or-px value specifying the thickness of the beam cursor. Defaults to 1.5pt. * Rename (and export) pt_or_px_as_pixels() to term_pt_or_px_as_pixels() * Change term_pt_or_px_as_pixels() to round point values instead of truncating them. --- config.h | 1 + 1 file changed, 1 insertion(+) (limited to 'config.h') diff --git a/config.h b/config.h index 06184658..2a5ca79d 100644 --- a/config.h +++ b/config.h @@ -154,6 +154,7 @@ struct config { uint32_t text; uint32_t cursor; } color; + struct pt_or_px beam_thickness; } cursor; struct { -- cgit v1.3