Uses the correct Fl_Terminal type in terminal.fl as well

This commit is contained in:
Matthias Melcher 2023-11-15 15:59:23 +01:00
parent fe0298e9e6
commit d5a9be6b5e
1 changed files with 5 additions and 5 deletions

View File

@ -246,7 +246,7 @@ Fl::repeat_timeout(.10, ring_debug_timer_callback, (void*)this);} {}
o->ring_debug_timer_callback2();} {}
}
Function {handle(int e) FL_OVERRIDE} {
comment {Event handler} selected return_type int
comment {Event handler} return_type int
} {
code {switch (e) {
case FL_KEYBOARD: {
@ -1748,7 +1748,7 @@ if (parse_color(textbgcolor_default_input->value(), c) == -1 ) return;
G_tty->textbgcolor_default(c);
update_inputs();
//DEBUG ::printf("IVAL is %08lx\\n",ival);
G_tty->redraw();} selected
G_tty->redraw();}
tooltip {The text background default color.
Refer to the docs for the special value 0xffffffff.
Can be decimal (e.g. 12) or hex (e.g. \#0c, \#0000000c, etc)} xywh {521 103 77 20} labelsize 9 when 28 textfont 4 textsize 9
@ -1947,10 +1947,10 @@ win->redraw();}
Hit ENTER to run command.
The command's stdout will appear in terminal.} xywh {109 269 737 25} labelsize 12 when 12 textfont 4
}
Fl_Group tty {open
xywh {10 302 836 524} box DOWN_FRAME color 0
Fl_Terminal tty {selected
xywh {10 302 836 524}
class MyTerminal
} {}
}
}
code {// CTOR
G_tty = tty; // global access