Displaying 1 result from an estimated 1 matches for "color_used".
Did you mean:
color_med
2004 Oct 05
0
Asterisk CLI Prompt : Small hack
...]%n[ Processes: %l4 PID: %l5 ]%n[ %H ] %%%# "
--- begin patch [ apply in asterisk/ with patch -p0 < ]
--- asterisk.c.original 2004-10-05 10:26:21.000000000 -0400
+++ asterisk.c 2004-10-05 11:29:48.000000000 -0400
@@ -991,6 +991,9 @@
color_used = 1;
}
break;
+ case 'n': /* newline */
+ strncat(p, "\n",
sizeof(prompt) - strlen(prompt) -1);
+...