Displaying 1 result from an estimated 1 matches for "ff54128".
Did you mean:
54128
2009 Mar 13
1
[PATCH 1/1] cmd.c32: allow an option for clearing the screen
...creen
Signed-off-by: Gene Cumm <gene.cumm at gmail.com>
---
If "-c" is the first option to cmd.c32, it will first clear the screen
by dumping a series of newlines to the screen.
Applies against current head.
diff --git a/com32/modules/cmd.c b/com32/modules/cmd.c
index e1d646b..ff54128 100644
--- a/com32/modules/cmd.c
+++ b/com32/modules/cmd.c
@@ -20,19 +20,29 @@
#include <alloca.h>
#include <com32.h>
+#define NUM_NL 40
+ /* Number of lines to clear */
+
int main(int argc, const char *argv[])
{
size_t len = 0;
char *cmd;
char *tmp;
int i;
+ int...