render: bar cursor style

This commit is contained in:
Mitchell Hashimoto
2022-05-20 13:17:31 -07:00
parent 37f621bc19
commit 75c3dc4386
3 changed files with 21 additions and 1 deletions

View File

@@ -45,9 +45,12 @@ cursor_style: CursorStyle,
/// Default foreground color
foreground: terminal.color.RGB,
/// Available cursor styles for drawing. The values represents the mode value
/// in the shader.
const CursorStyle = enum(u8) {
box = 3,
box_hollow = 4,
bar = 5,
};
/// The raw structure that maps directly to the buffer sent to the vertex shader.