зеркало из https://github.com/github/putty.git
Robert de Bath's patch: ARG_DEFAULT is now zero because it's
apparently defined behaviour for _all_ CSI-type sequences that ESC[Q should be equivalent to ESC[0Q. Which is a pain in the wossname and not a sane way to do it, but if the standards say it then I suppose ... :-( [originally from svn r406]
This commit is contained in:
Родитель
dbc12bdd58
Коммит
30ee1109f1
|
@ -41,7 +41,7 @@ static int alt_t, alt_b;
|
|||
static int alt_which;
|
||||
|
||||
#define ARGS_MAX 32 /* max # of esc sequence arguments */
|
||||
#define ARG_DEFAULT -1 /* if an arg isn't specified */
|
||||
#define ARG_DEFAULT 0 /* if an arg isn't specified */
|
||||
#define def(a,d) ( (a) == ARG_DEFAULT ? (d) : (a) )
|
||||
static int esc_args[ARGS_MAX];
|
||||
static int esc_nargs;
|
||||
|
|
Загрузка…
Ссылка в новой задаче