diff options
| author | erco77 <erco@seriss.com> | 2023-11-14 07:01:52 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-14 07:01:52 -0800 |
| commit | 6842a43a3170c6f7a852186d5688baebdac16e2c (patch) | |
| tree | 04493580bf8fc798858720c7ab7ffecedeb9ee3e /test/browser.cxx | |
| parent | 83f6336f3b024f4a7c55a7499d036f03d946c1b9 (diff) | |
Fl_Terminal widget (#800)
Pull Fl_Terminal widget from Greg's fork
Diffstat (limited to 'test/browser.cxx')
| -rw-r--r-- | test/browser.cxx | 6 |
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); |
