mirror of
				https://github.com/ArthurSonzogni/FTXUI.git
				synced 2025-11-01 02:58:12 +08:00 
			
		
		
		
	Emit a new line when a component is interrupted.
While running a component, make sure to reset the cursor at the end of the component and insert a new line. This fixes: https://github.com/ArthurSonzogni/FTXUI/issues/6
This commit is contained in:
		| @@ -111,7 +111,7 @@ void ScreenInteractive::Loop(Component* component) { | ||||
|     std::cout << reset_cursor_position; | ||||
|     std::cout << SHOW_CURSOR; | ||||
|     std::cout << ENABLE_LINE_WRAP; | ||||
|     std::cout << std::flush; | ||||
|     std::cout << std::endl; | ||||
|   }); | ||||
|  | ||||
|   // Handle resize. | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 ArthurSonzogni
					ArthurSonzogni