Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/lib/libedit



Module Name:    src
Committed By:   abhinav
Date:           Fri May  4 16:39:15 UTC 2018

Modified Files:
        src/lib/libedit: filecomplete.c
        src/lib/libedit/TEST: test_filecompletion.c

Log Message:
Handle filename autocompletion when the cursor is at a backslash or quote character

For example, handle following case:
        $ touch 'foo bar'
        $ ls foo\<TAB> --> $ ls foo\ bar

Also add test cases for this.

Thanks to Christos for review


To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 src/lib/libedit/filecomplete.c
cvs rdiff -u -r1.2 -r1.3 src/lib/libedit/TEST/test_filecompletion.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index