summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Ercolano <erco@seriss.com>2023-12-16 07:39:17 -0800
committerGreg Ercolano <erco@seriss.com>2023-12-16 07:39:17 -0800
commitc0d7fe9af90c682b622fb257b92b319cbac7e30e (patch)
treeb562fd08bfb916224b0a6bbdc273776909f72970
parentf7eb21d92e841410c32ea5b56399545dfe6a0583 (diff)
Small doc clarification
-rw-r--r--src/Fl_Terminal.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Fl_Terminal.cxx b/src/Fl_Terminal.cxx
index 2e509c9f2..2b53c4a77 100644
--- a/src/Fl_Terminal.cxx
+++ b/src/Fl_Terminal.cxx
@@ -1153,8 +1153,9 @@ void Fl_Terminal::clear_tabstop(void) {
}
// Update the scrollbar based on screen, history buffer, etc
-// Scrollbar should range from 0 (bottom) to hist_rows (top),
-// the scrollbar's value indicating how far back into history.
+// Scrollbar should range from 0 (bottom) to history_use() (top),
+// the scrollbar's value being "how many lines we're scrolled back"
+// into the screen history.
//
void Fl_Terminal::update_scrollbar(void) {
int value_before = scrollbar->value();