aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-05-04 08:38:03 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-05-04 08:38:03 +0000
commit29b697a9afeeea8a5f55c6adce1489a21e04ef8c (patch)
tree83280fa265005aeac951de19b6194318aaee6726 /terminal.h
parentMerge branch 'add-truecolor-to-feature-list' (diff)
parentconfig: add ‘beam-thickness’ option (diff)
Merge branch 'beam-thickness'
Closes #464
Diffstat (limited to 'terminal.h')
-rw-r--r--terminal.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/terminal.h b/terminal.h
index 72685101..3de7b8f4 100644
--- a/terminal.h
+++ b/terminal.h
@@ -212,7 +212,7 @@ enum mouse_reporting {
MOUSE_URXVT, /* ?1015h */
};
-enum cursor_style { CURSOR_BLOCK, CURSOR_UNDERLINE, CURSOR_BAR };
+enum cursor_style { CURSOR_BLOCK, CURSOR_UNDERLINE, CURSOR_BEAM };
enum selection_kind {
SELECTION_NONE,
@@ -615,6 +615,9 @@ bool term_font_size_decrease(struct terminal *term);
bool term_font_size_reset(struct terminal *term);
bool term_font_dpi_changed(struct terminal *term);
void term_font_subpixel_changed(struct terminal *term);
+int term_pt_or_px_as_pixels(
+ const struct terminal *term, const struct pt_or_px *pt_or_px);
+
void term_window_configured(struct terminal *term);