1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-31 06:00:54 +01:00

* 20909: Src/Modules/termcap.c: reverse row and col arguments to tgoto.

This commit is contained in:
Clint Adams 2005-03-02 15:12:25 +00:00
parent c7ca063321
commit 27c52ad072
2 changed files with 6 additions and 1 deletions

View file

@ -155,7 +155,7 @@ bin_echotc(char *name, char **argv, UNUSED(Options ops), UNUSED(int func))
tputs(t, 1, putraw);
else {
num = (argv[1]) ? atoi(argv[1]) : atoi(*argv);
tputs(tgoto(t, atoi(*argv), num), num, putraw);
tputs(tgoto(t, num, atoi(*argv)), num, putraw);
}
return 0;
}