diff options
| author | Greg Ercolano <erco@seriss.com> | 2025-11-17 12:48:13 -0800 |
|---|---|---|
| committer | Greg Ercolano <erco@seriss.com> | 2025-11-17 12:48:44 -0800 |
| commit | bd945bf647cbd85a61412ce9d7ab4230f852faa3 (patch) | |
| tree | 6c53fd5d47661e61917090e596d9f2a880e48ff1 /src | |
| parent | fa65cd63214030011d7ac0a18818c644aff05750 (diff) | |
smoother scrolling in Fl_Terminal
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_Terminal.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Fl_Terminal.cxx b/src/Fl_Terminal.cxx index 74aa02161..b829af511 100644 --- a/src/Fl_Terminal.cxx +++ b/src/Fl_Terminal.cxx @@ -3463,6 +3463,7 @@ void Fl_Terminal::init_(int X,int Y,int W,int H,const char*L,int rows,int cols,i scrollbar = new Fl_Scrollbar(x(), y(), scrollbar_actual_size(), h()); // tmp xywh (changed later) ** scrollbar->type(FL_VERTICAL); scrollbar->value(0); + scrollbar->linesize(3); // consistent w/Fl_Text_Display -erco 11/17/25 scrollbar->callback(scrollbar_cb, (void*)this); hscrollbar = new Fl_Scrollbar(x(), y(), w(), scrollbar_actual_size()); // tmp xywh (changed later) ** |
