summaryrefslogtreecommitdiff
path: root/src/misc_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/misc_gui.cpp')
-rw-r--r--src/misc_gui.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/misc_gui.cpp b/src/misc_gui.cpp
index e0e29c050..e7b27ed0e 100644
--- a/src/misc_gui.cpp
+++ b/src/misc_gui.cpp
@@ -1211,6 +1211,11 @@ void UpdateTextBufferSize(Textbuf *tb)
tb->caretxoffs = tb->pixels;
}
+/**
+ * Handle the flashing of the caret.
+ * @param tb The text buffer to handle the caret of.
+ * @return True if the caret state changes.
+ */
bool HandleCaret(Textbuf *tb)
{
/* caret changed? */