From 52f8dc5d05f5e34b0a3cf4bb4e4fe607f06965c5 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 14 Jun 2025 21:51:42 +0200 Subject: Better G key behavior in matrix, add ctrl+g for encrypt reply, load mpris from system path if available for videos --- src/Text.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/Text.cpp') diff --git a/src/Text.cpp b/src/Text.cpp index 2b62798..6333e8e 100644 --- a/src/Text.cpp +++ b/src/Text.cpp @@ -285,6 +285,10 @@ namespace QuickMedia int Text::getCaretIndex() const { return caretIndex; } + + void Text::setCaretIndex(int index) { + caretIndex = index; + } void Text::set_color(mgl::Color color, bool force_color) { -- cgit v1.2.3-70-g09d2