Lines Matching refs:from
71 * Initialize from environment variables.
248 int from;
259 to = from = lmargin;
264 while (shifted <= shift && from < curr)
266 c = linebuf[from];
271 attr[to++] = attr[from++];
272 while (from < curr && linebuf[from])
274 linebuf[to] = linebuf[from];
275 attr[to++] = attr[from];
276 if (!is_ansi_middle(linebuf[from++]))
290 if (from + len > curr)
292 ch = get_wchar(linebuf + from);
309 attr[to] = attr[from];
316 from += len;
323 next_attr = (from + len < curr) ? attr[from + len] : prev_attr;
324 if (!is_at_equiv(attr[from], prev_attr) &&
325 !is_at_equiv(attr[from], next_attr))
327 width += attr_swidth(attr[from]);
328 if (from + len < curr)
329 width += attr_ewidth(attr[from]);
333 if (from + len < curr)
340 from += len;
345 while (from < curr)
347 linebuf[to] = linebuf[from];
348 attr[to++] = attr[from++];
1080 * Get a character from the current line.