mirror of
https://github.com/tildeclub/ex-vi.git
synced 2026-06-23 04:09:24 +00:00
* Made multicolumn characters work in lines longer than the screen width in
visual mode (Bugreport by Matthew Fischer).
This commit is contained in:
4
ex.c
4
ex.c
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user