[asterisk-bugs] [Asterisk 0014373]: [patch] Avoid destroying the CLI line when moving the cursor backward and trying to autocomplete.
Asterisk Bug Tracker
noreply at bugs.digium.com
Wed Mar 25 09:38:20 CDT 2009
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=14373
======================================================================
Reported By: eliel
Assigned To: eliel
======================================================================
Project: Asterisk
Issue ID: 14373
Category: Core/General
Reproducibility: have not tried
Severity: tweak
Priority: normal
Status: closed
Asterisk Version: SVN
Regression: No
SVN Branch (only for SVN checkouts, not tarball releases): trunk
SVN Revision (number only!): 172517
Request Review:
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 2009-01-30 13:10 CST
Last Modified: 2009-03-25 09:38 CDT
======================================================================
Summary: [patch] Avoid destroying the CLI line when moving
the cursor backward and trying to autocomplete.
Description:
When moving the cursor backward and pressing TAB to autocomplete a NULL is
put in the line and we are loosing what we have already wrote after the
actual cursor position.
core show channel<CURSOR>'\0' pepe
If moving the cursor where <CURSOR> is and pressing tab, the
autocompletion mechanism autocomplete the line but puts a NULL and 'pepe'
is no more part of the command line.
======================================================================
----------------------------------------------------------------------
(0102162) svnbot (reporter) - 2009-03-25 09:38
http://bugs.digium.com/view.php?id=14373#c102162
----------------------------------------------------------------------
Repository: asterisk
Revision: 184220
_U trunk/
U trunk/main/asterisk.c
------------------------------------------------------------------------
r184220 | eliel | 2009-03-25 09:38:19 -0500 (Wed, 25 Mar 2009) | 19 lines
Merged revisions 184188 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r184188 | eliel | 2009-03-25 10:12:54 -0400 (Wed, 25 Mar 2009) | 13
lines
Avoid destroying the CLI line when moving the cursor backward and trying
to autocomplete.
When moving the cursor backward and pressing TAB to autocomplete, a NULL
is put
in the line and we are loosing what we have already wrote after the
actual
cursor position.
(closes issue http://bugs.digium.com/view.php?id=14373)
Reported by: eliel
Patches:
asterisk.c.patch uploaded by eliel (license 64)
Tested by: lmadsen
........
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=184220
Issue History
Date Modified Username Field Change
======================================================================
2009-03-25 09:38 svnbot Checkin
2009-03-25 09:38 svnbot Note Added: 0102162
======================================================================
More information about the asterisk-bugs
mailing list