consolidate some arg processing
Unix and Windows had diverged significantly for command line
options handling.
This:
1. uses the the Unix processing as a baseline.
2. consolidates the code in earlyarg.c, where it can
be a common copy to be shared.
3. start converting the Windows command line argument
processing to the Unix code that now resides in earlyarg.c.
This commit is contained in:
@@ -817,6 +817,7 @@ struct sinfo {
|
||||
interface to suppress menu commands in similar conditions;
|
||||
readchar() always resets it to 'otherInp' prior to returning */
|
||||
int input_state; /* whether next key pressed will be entering a command */
|
||||
int early_options; /* inside early_options processing */
|
||||
#ifdef TTY_GRAPHICS
|
||||
/* resize_pending only matters when handling a SIGWINCH signal for tty;
|
||||
getting_char is used along with that and also separately for UNIX;
|
||||
|
||||
Reference in New Issue
Block a user