mirror of
				https://github.com/onyx-and-iris/vmrcli.git
				synced 2025-10-31 05:01:48 +00:00 
			
		
		
		
	clear the input buffer before reading from stdin again
This commit is contained in:
		
							parent
							
								
									e06a26f87b
								
							
						
					
					
						commit
						947abb3c01
					
				| @ -206,6 +206,7 @@ void interactive(T_VBVMR_INTERFACE *vmr) | ||||
|         } | ||||
| 
 | ||||
|         p = input;                          /* reset pointer */ | ||||
|         memset(input, '\0', sizeof(input)); /* reset input buffer */ | ||||
|         printf(">> "); | ||||
|     } | ||||
| } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user