mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 20:04:50 +00:00
Extra NULLs in the output cause some terminal types to abort in the middle of
a color code, causing terminal weirdness. (closes issue #14130) Reported by: coolmig Patches: 20090121__bug14130.diff.txt uploaded by Corydon76 (license 14) Tested by: Corydon76, coolmig git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@169722 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1832,6 +1832,7 @@ static int ast_el_read_char(EditLine *el, char *cp)
|
||||
if (*tmp == 127) {
|
||||
memmove(tmp, tmp + 1, strlen(tmp));
|
||||
tmp--;
|
||||
res--;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user