diff options
Diffstat (limited to 'src/interface-curses/interface-curses.cpp')
-rw-r--r-- | src/interface-curses/interface-curses.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/interface-curses/interface-curses.cpp b/src/interface-curses/interface-curses.cpp index d592b89..5e5b8d8 100644 --- a/src/interface-curses/interface-curses.cpp +++ b/src/interface-curses/interface-curses.cpp @@ -312,7 +312,7 @@ InterfaceCurses::InterfaceCurses() : stdout_orig(-1), stderr_orig(-1), } void -InterfaceCurses::main_impl(int &argc, char **&argv) +InterfaceCurses::init(void) { /* * We must register this handler to handle @@ -518,12 +518,16 @@ InterfaceCurses::init_screen(void) * This sets the program name to "SciTECO" * which may then also be used as the X11 class name * for overwriting X11 resources in .Xdefaults + * * FIXME: We could support passing in resource * overrides via the SciTECO command line. * But unfortunately, Xinitscr() is called too - * late to modify argc/argv for command-line parsing. + * late to modify argc/argv for command-line parsing + * (and GOption needs to know about the additional + * possible arguments since they are not passed through + * transparently). * Therefore this could only be supported by - * adding a special option like --resource. + * adding a special option like --resource KEY=VAL. */ Xinitscr(1, (char **)argv); } |