aboutsummaryrefslogtreecommitdiff
path: root/state.h
diff options
context:
space:
mode:
authorRiley Beckett <rbeckettvt@gmail.com>2025-10-23 00:07:26 -0400
committerRiley Beckett <rbeckettvt@gmail.com>2025-10-23 00:07:26 -0400
commit9d8db4146d025e3a967700414a9fc68fa186045e (patch)
tree9d0e0d6dd46a2f580f4b2fb4e1fbba2b0c6fb11e /state.h
parent90d6b2a866c6da29921dfae3d684203fd232ea74 (diff)
add basic cursor movement
Diffstat (limited to 'state.h')
-rw-r--r--state.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/state.h b/state.h
index 60e84c4..1c677ec 100644
--- a/state.h
+++ b/state.h
@@ -93,6 +93,8 @@ typedef struct {
GLuint b_color_uniform;
text_buffer_t input_buffer_grafix;
+ size_t cursor_index;
+
// fonts
FT_Library ft_library;
FT_Face ft_face;