summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGreg Ercolano <erco@seriss.com>2022-11-07 17:08:14 -0800
committerGreg Ercolano <erco@seriss.com>2022-11-07 17:08:14 -0800
commitd68f927a1382d1603a03e5be77f79b7a51854360 (patch)
treeb27b2defe1d0b1674fb1e603cc8bb2fe11c0cde7 /src
parent89e1aad897c07c0fc1e427d5970889172177808a (diff)
Document Fl_Multiline_Output keynav and caret cursor
Diffstat (limited to 'src')
-rw-r--r--src/Fl_Input_.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Fl_Input_.cxx b/src/Fl_Input_.cxx
index 37edba106..55190b258 100644
--- a/src/Fl_Input_.cxx
+++ b/src/Fl_Input_.cxx
@@ -371,6 +371,7 @@ void Fl_Input_::drawtext(int X, int Y, int W, int H) {
// cursor position may need to be recomputed (see STR #2486)
curx = int(expandpos(p, value()+position(), buf, 0)+.5);
if (readonly()) {
+ // Draw '^' caret cursor
fl_line((int)(xpos+curx-2.5f), Y+ypos+height-1,
(int)(xpos+curx+0.5f), Y+ypos+height-4,
(int)(xpos+curx+3.5f), Y+ypos+height-1);