Properly newline in console command_prompt
This commit is contained in:
		
							parent
							
								
									c75da94619
								
							
						
					
					
						commit
						0f6e37a29b
					
				| 
						 | 
				
			
			@ -110,7 +110,7 @@ impl Console {
 | 
			
		|||
            input = self.getc();
 | 
			
		||||
 | 
			
		||||
            if input == '\n' {
 | 
			
		||||
                self.putc('\n');
 | 
			
		||||
                self.puts("\n"); // do \r\n output
 | 
			
		||||
                return &buf[..i];
 | 
			
		||||
            } else {
 | 
			
		||||
                if i < buf.len() {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue