config: Add option for custom cursor style

This commit is contained in:
SoraTenshi
2023-08-28 18:20:45 +02:00
parent aa08f3cd6b
commit fcf1537f82
3 changed files with 13 additions and 2 deletions

View File

@@ -97,6 +97,9 @@ pub const Config = struct {
/// The color of the cursor. If this is not set, a default will be chosen.
@"cursor-color": ?Color = null,
/// The style of the cursor.
@"cursor-style": terminal.CursorStyle = .default,
/// The color of the text under the cursor. If this is not set, a default
/// will be chosen.
@"cursor-text": ?Color = null,