mirror of
https://github.com/tildeclub/ex-vi.git
synced 2026-06-25 13:09:24 +00:00
* The insertion of multicolumn characters now works with terminals that have
the 'ic' but no 'im' termcap capability (Bugreport by Matthew Fischer).
This commit is contained in:
@@ -73,7 +73,7 @@
|
||||
|
||||
#ifndef lint
|
||||
#ifdef DOSCCS
|
||||
static char sccsid[] = "@(#)ex_vput.c 1.45 (gritter) 1/22/05";
|
||||
static char sccsid[] = "@(#)ex_vput.c 1.46 (gritter) 2/3/05";
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -1395,7 +1395,11 @@ def:
|
||||
*/
|
||||
if (insmode && (!IM || !*IM))
|
||||
#endif /* !notdef */
|
||||
vputp(IC, DEPTH(vcline));
|
||||
{
|
||||
n = colsc(c);
|
||||
for (m = 0; m < n; m++)
|
||||
vputp(IC, DEPTH(vcline));
|
||||
}
|
||||
vputc(c & TRIM);
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user