Fixed bug in twritetab

This commit is contained in:
Ashish Kumar Yadav 2021-12-12 11:14:33 +05:30
parent 5296dee5e2
commit 60d1e25445
1 changed files with 1 additions and 0 deletions

View File

@ -2500,6 +2500,7 @@ twritetab(void)
while (++x < term.col && !term.tabs[x]);
goto end;
}
x = term.c.x;
/* selected() takes relative coordinates */
if (selected(x + term.scr, y + term.scr))