lexical #3/6, rewrite
This commit is contained in:
parent
5656203a6c
commit
c73c0f4318
|
|
@ -351,12 +351,12 @@ prompt(void)
|
|||
|
||||
if (cp_interactive == FALSE)
|
||||
return;
|
||||
if (cp_promptstring == NULL)
|
||||
s = "-> ";
|
||||
else
|
||||
s = cp_promptstring;
|
||||
if (cp_altprompt)
|
||||
s = cp_altprompt;
|
||||
else if (cp_promptstring)
|
||||
s = cp_promptstring;
|
||||
else
|
||||
s = "-> ";
|
||||
while (*s) {
|
||||
switch (strip(*s)) {
|
||||
case '!':
|
||||
|
|
|
|||
Loading…
Reference in New Issue