mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-09 03:21:27 +00:00
fs_cli: fix empty prompt in nbss7
This commit is contained in:
parent
34b0f8ad74
commit
03fee3de39
@ -1287,11 +1287,13 @@ int main(int argc, char *argv[])
|
|||||||
snprintf(prompt_str, sizeof(prompt_str), PROMPT_PREFIX "@%s> ", profile->name);
|
snprintf(prompt_str, sizeof(prompt_str), PROMPT_PREFIX "@%s> ", profile->name);
|
||||||
}
|
}
|
||||||
bare_prompt_str_len = (int)strlen(bare_prompt_str);
|
bare_prompt_str_len = (int)strlen(bare_prompt_str);
|
||||||
|
#if 0
|
||||||
if (feature_level) {
|
if (feature_level) {
|
||||||
snprintf(prompt_str, sizeof(prompt_str), "%s%s%s", prompt_color, bare_prompt_str, input_text_color);
|
snprintf(prompt_str, sizeof(prompt_str), "%s%s%s #", prompt_color, bare_prompt_str, input_text_color);
|
||||||
} else {
|
} else {
|
||||||
snprintf(prompt_str, sizeof(prompt_str), "%s", bare_prompt_str);
|
snprintf(prompt_str, sizeof(prompt_str), "%s >> ", bare_prompt_str);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
connect:
|
connect:
|
||||||
connected = 0;
|
connected = 0;
|
||||||
while (--loops > 0) {
|
while (--loops > 0) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user