|  | @@ -23,9 +23,10 @@ extern struct _tnsMain *T;
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  void laset_TerminalInput(void* unused, char* content){
 |  |  void laset_TerminalInput(void* unused, char* content){
 | 
											
												
													
														|  |      if((!content)||(!content[0])){ MAIN.TerminalInput[0]=0; return; }
 |  |      if((!content)||(!content[0])){ MAIN.TerminalInput[0]=0; return; }
 | 
											
												
													
														|  | -    int len=strlen(content);{
 |  | 
 | 
											
												
													
														|  | -        //run command;
 |  | 
 | 
											
												
													
														|  | -        logPrint("%s\n",content);
 |  | 
 | 
											
												
													
														|  | 
 |  | +    int len=strlen(content);
 | 
											
												
													
														|  | 
 |  | +    if(MAIN.IsTerminalEnter){
 | 
											
												
													
														|  | 
 |  | +        if(strSame(content,"clear")){ logClear(); MAIN.TerminalInput[0]=0; return; }
 | 
											
												
													
														|  | 
 |  | +        logPrint("%s %s\n",MAIN.TerminalIncomplete?"...":">>>",content);
 | 
											
												
													
														|  |          terLoadLine(content,1);
 |  |          terLoadLine(content,1);
 | 
											
												
													
														|  |          MAIN.TerminalInput[0]=0; return;
 |  |          MAIN.TerminalInput[0]=0; return;
 | 
											
												
													
														|  |      }
 |  |      }
 | 
											
										
											
												
													
														|  | @@ -1217,7 +1218,10 @@ void la_RegisterInternalProps(){
 | 
											
												
													
														|  |          p = laAddPropertyContainer("la_main", "LA Root", "LA Root Structure", U'🖴', 0,sizeof(LA), 0,0,2|LA_PROP_OTHER_ALLOC);{
 |  |          p = laAddPropertyContainer("la_main", "LA Root", "LA Root Structure", U'🖴', 0,sizeof(LA), 0,0,2|LA_PROP_OTHER_ALLOC);{
 | 
											
												
													
														|  |              laAddSubGroup(p, "logs", "Logs", "Application logs", "la_log",0,0,laui_LogItem, -1, 0,0,0,0,0,0,offsetof(LA, Logs), LA_UDF_IGNORE|LA_READ_ONLY);
 |  |              laAddSubGroup(p, "logs", "Logs", "Application logs", "la_log",0,0,laui_LogItem, -1, 0,0,0,0,0,0,offsetof(LA, Logs), LA_UDF_IGNORE|LA_READ_ONLY);
 | 
											
												
													
														|  |              laAddStringProperty(p, "terminal_input", "Terminal Input", "Terminal input string", 0,0,0,0,0, offsetof(LA,TerminalInput),0,0,laset_TerminalInput,0,LA_UDF_LOCAL|LA_UDF_IGNORE);
 |  |              laAddStringProperty(p, "terminal_input", "Terminal Input", "Terminal input string", 0,0,0,0,0, offsetof(LA,TerminalInput),0,0,laset_TerminalInput,0,LA_UDF_LOCAL|LA_UDF_IGNORE);
 | 
											
												
													
														|  | -            
 |  | 
 | 
											
												
													
														|  | 
 |  | +            ep=laAddEnumProperty(p, "terminal_incomplete", "Terminal Incomplete", "Incomplete input pending in terminal", 0,0,0,0,0,offsetof(LA, TerminalIncomplete),0,0,0,0,0,0,0,0,0,LA_READ_ONLY|LA_UDF_IGNORE);
 | 
											
												
													
														|  | 
 |  | +            laAddEnumItemAs(ep, "NONE", "None", "Terminal status is normal", 0, 0);
 | 
											
												
													
														|  | 
 |  | +            laAddEnumItemAs(ep, "INCOMPLETE", "Incomplete", "Terminal has incomplete input pending", 1, 0);
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  |              laAddSubGroup(p, "differences", "Differences", "Difference stack (for undo/redo)", "la_difference",0,0,0,offsetof(LA, HeadDifference), 0,0,0,0,0,0,offsetof(LA, Differences), LA_UDF_IGNORE|LA_READ_ONLY);
 |  |              laAddSubGroup(p, "differences", "Differences", "Difference stack (for undo/redo)", "la_difference",0,0,0,offsetof(LA, HeadDifference), 0,0,0,0,0,0,offsetof(LA, Differences), LA_UDF_IGNORE|LA_READ_ONLY);
 | 
											
												
													
														|  |              sp=laAddSubGroup(p, "panel_templates", "Panel Templates", "Panel templates used to create new panel", "panel_template",0,0,0,-1, 0,0,0,0,0,0,offsetof(LA, PanelTemplates), 0);
 |  |              sp=laAddSubGroup(p, "panel_templates", "Panel Templates", "Panel templates used to create new panel", "panel_template",0,0,0,-1, 0,0,0,0,0,0,offsetof(LA, PanelTemplates), 0);
 | 
											
												
													
														|  |              
 |  |              
 |