Added command 'starter' to call ABC concurrently.

This commit is contained in:
Alan Mishchenko
2012-10-02 21:41:24 -07:00
parent aa705a9af6
commit 6c1c45b90f
8 changed files with 310 additions and 8 deletions
+4 -2
View File
@@ -49,9 +49,11 @@ void Cmd_HistoryAddCommand( Abc_Frame_t * p, const char * command )
{
int nLastLooked = 10; // do not add history if the same entry appears among the last entries
int nLastSaved = 500; // when saving a file, save no more than this number of last entries
char Buffer[ABC_MAX_STR];
int Len = strlen(command);
int Len;
if ( p->fBatchMode )
return;
Len = strlen(command);
strcpy( Buffer, command );
if ( Buffer[Len-1] == '\n' )
Buffer[Len-1] = 0;