#define phyCOL (beg+pos+1)
#define bufMAX ((int)sizeof(buf)-2) // -1 for '\0' string delimeter
static char buf[MEDBUFSIZ+1]; // +1 for '\0' string delimeter
- int beg, pos, len, key, ovt, i;
+ static int ovt;
+ int beg, pos, len, key, i;
struct lin_s {
struct lin_s *bkw; // ptr to older saved strs
struct lin_s *fwd; // ptr to newer saved strs
anchor->str = alloc_s(""); // top-of-stack == empty str
}
plin = anchor;
- pos = ovt = 0;
+ pos = 0;
beg = show_pmt(prompt);
memset(buf, '\0', sizeof(buf));
- putp(Cap_curs_norm);
+ putp(ovt ? Cap_curs_huge : Cap_curs_norm);
do {
fflush(stdout);