]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Avoid destroying the CLI line when moving the cursor backward and trying to autocomplete.
authorEliel C. Sardanons <eliels@gmail.com>
Wed, 25 Mar 2009 14:12:54 +0000 (14:12 +0000)
committerEliel C. Sardanons <eliels@gmail.com>
Wed, 25 Mar 2009 14:12:54 +0000 (14:12 +0000)
commita81abfbd02ed726339be3a0b6950a90e6c77c2d5
tree57f1980ba6da216b08e53d6de739cc75fe8f2d7a
parent4a209dbe409819b0497bad9425bf70c44f2e4a45
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 #14373)
Reported by: eliel
Patches:
      asterisk.c.patch uploaded by eliel (license 64)
      Tested by: lmadsen

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@184188 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/asterisk.c