summaryrefslogtreecommitdiff
path: root/test/browser.cxx
diff options
context:
space:
mode:
authorerco77 <erco@seriss.com>2023-11-14 07:01:52 -0800
committerGitHub <noreply@github.com>2023-11-14 07:01:52 -0800
commit6842a43a3170c6f7a852186d5688baebdac16e2c (patch)
tree04493580bf8fc798858720c7ab7ffecedeb9ee3e /test/browser.cxx
parent83f6336f3b024f4a7c55a7499d036f03d946c1b9 (diff)
Fl_Terminal widget (#800)
Pull Fl_Terminal widget from Greg's fork
Diffstat (limited to 'test/browser.cxx')
-rw-r--r--test/browser.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/browser.cxx b/test/browser.cxx
index d269f0d57..0df67433b 100644
--- a/test/browser.cxx
+++ b/test/browser.cxx
@@ -64,7 +64,7 @@ That was a blank line above this.
#include <FL/Fl_Button.H>
#include <FL/Fl_Int_Input.H>
#include <FL/Fl_Choice.H>
-#include <FL/Fl_Simple_Terminal.H>
+#include <FL/Fl_Terminal.H>
#include <FL/fl_ask.H>
#include <stdio.h>
#include <string.h>
@@ -81,7 +81,7 @@ Fl_Button *top,
Fl_Choice *btype;
Fl_Choice *wtype;
Fl_Int_Input *field;
-Fl_Simple_Terminal *tty = 0;
+Fl_Terminal *tty = 0;
typedef struct {
const char *name;
@@ -219,7 +219,7 @@ int main(int argc, char **argv) {
wtype->value(4); // FL_WHEN_RELEASE_ALWAYS is Fl_Browser's default
// Small terminal window for callback messages
- tty = new Fl_Simple_Terminal(0,400,720,120);
+ tty = new Fl_Terminal(0,400,720,120);
tty->history_lines(50);
tty->ansi(true);