* Made multicolumn characters work in lines longer than the screen width in

visual mode (Bugreport by Matthew Fischer).
This commit is contained in:
Gunnar Ritter
2005-02-15 16:31:11 +00:00
parent 625b7e45f5
commit d1a3bb3efa
9 changed files with 82 additions and 32 deletions

4
ex.c
View File

@@ -77,7 +77,7 @@ char *copyright =
"@(#) Copyright (c) 1980 Regents of the University of California.\n\
All rights reserved.\n";
static char sccsid[] = "@(#)ex.c 1.35 (gritter) 2/13/05";
static char sccsid[] = "@(#)ex.c 1.36 (gritter) 2/13/05";
#endif /* DOSCCS */
#endif /* !lint */
@@ -565,7 +565,7 @@ argend:
setrupt();
intty = isatty(0);
value(PROMPT) = intty;
if (cp = getenv("SHELL"))
if ((cp = getenv("SHELL")) != NULL && *cp != '\0')
safecp(shell, cp, sizeof shell, "$SHELL too long");
if (fast || !intty)
setterm("dumb");