Mercurial > ~mikael > mcabber > hg
comparison mcabber/src/screen.c @ 121:94b251102069
[/trunk] Changeset 134 by mikael
* Completion: add a space after each completion option...
* Completion: does not work when there are several spaces after the command
author | mikael |
---|---|
date | Tue, 26 Apr 2005 09:36:50 +0000 |
parents | cfd3df636d5f |
children | 1bdf882bed98 |
comparison
equal
deleted
inserted
replaced
120:cfd3df636d5f | 121:94b251102069 |
---|---|
805 quote = FALSE; | 805 quote = FALSE; |
806 continue; | 806 continue; |
807 } | 807 } |
808 if (*p == '"' && *(p-1) != '\\') { | 808 if (*p == '"' && *(p-1) != '\\') { |
809 quote = TRUE; | 809 quote = TRUE; |
810 } else if (*p == ' ' && *(p-1) != ' ') { | 810 } else if (*p == ' ') { |
811 row++; | 811 if (*(p-1) != ' ') |
812 row++; | |
812 *p_row = p+1; | 813 *p_row = p+1; |
813 } | 814 } |
814 } | 815 } |
815 return row; | 816 return row; |
816 } | 817 } |