version 1.12, 2002/03/16 04:17:36 |
version 1.13, 2002/03/27 17:42:37 |
|
|
LINE *lp; /* pointer to current line */ |
LINE *lp; /* pointer to current line */ |
int j; /* index into line */ |
int j; /* index into line */ |
|
|
|
if (ncol < 2) |
|
return; |
|
|
/* |
/* |
* calculate what column the left bound should be |
* calculate what column the left bound should be |
* (force cursor into middle half of screen) |
* (force cursor into middle half of screen) |
*/ |
*/ |
lbound = curcol - (curcol % (ncol >> 1)) - (ncol >> 2); |
lbound = curcol - (curcol % (ncol >> 1)) - (ncol >> 2); |
|
|
/* |
/* |
* scan through the line outputing characters to the virtual screen |
* scan through the line outputing characters to the virtual screen |
* once we reach the left edge |
* once we reach the left edge |