From 6c47cf7892d0f212b04e7b798e53c120f51022d7 Mon Sep 17 00:00:00 2001 From: Phil Jones Date: Tue, 20 Dec 2022 23:53:20 +0000 Subject: Add text cursor support. This turned out to be much more complex than anticipated, and the potential for bugs is therefore quite high. --- doc/config | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) (limited to 'doc/config') diff --git a/doc/config b/doc/config index 4ce0a7d..4eeb59c 100644 --- a/doc/config +++ b/doc/config @@ -110,6 +110,34 @@ # Matching portion of selection text selection-match-color = #00000000 + +# +### Text cursor theme +# + # Style of the optional text cursor. + # + # Supported values: bar, block, underscore + text-cursor-style = bar + + # Color of the text cursor + # + # If unspecified, defaults to the same as input-color + # text-cursor-color = #FFFFFF + + # Color of text behind the text cursor when text-cursor-style = block + # + # If unspecified, defaults to the same as background-color + # text-cursor-background = #000000 + + # Corner radius of the text cursor + text-cursor-corner-radius = 0 + + # Thickness of the bar and underscore text cursors. + # + # If unspecified, defaults to a font-dependent value when + # text-cursor-style = underscore, or to 2 otherwise. + # text-cursor-thickness = 2 + # ### Text layout # @@ -207,9 +235,12 @@ # ### Behaviour # - # Hide the cursor. + # Hide the mouse cursor. hide-cursor = false + # Show a text cursor in the input field. + text-cursor = false + # Sort results by number of usages in run and drun modes. history = true -- cgit v1.2.3