mirror of
				https://github.com/ArthurSonzogni/FTXUI.git
				synced 2025-11-04 13:38:14 +08:00 
			
		
		
		
	Warn for deprecated. (#94)
This commit is contained in:
		@@ -157,6 +157,7 @@ foreach(lib screen dom component)
 | 
				
			|||||||
    target_compile_options(${lib} PRIVATE "-pedantic")
 | 
					    target_compile_options(${lib} PRIVATE "-pedantic")
 | 
				
			||||||
    target_compile_options(${lib} PRIVATE "-Werror")
 | 
					    target_compile_options(${lib} PRIVATE "-Werror")
 | 
				
			||||||
    target_compile_options(${lib} PRIVATE "-Wmissing-declarations")
 | 
					    target_compile_options(${lib} PRIVATE "-Wmissing-declarations")
 | 
				
			||||||
 | 
					    target_compile_options(${lib} PRIVATE "-Wdeprecated")
 | 
				
			||||||
  endif()
 | 
					  endif()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
endforeach()
 | 
					endforeach()
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -360,7 +360,7 @@ void ScreenInteractive::Loop(Component component) {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  // On exit, reset cursor one line after the current drawing.
 | 
					  // On exit, reset cursor one line after the current drawing.
 | 
				
			||||||
  on_exit_functions.push(
 | 
					  on_exit_functions.push(
 | 
				
			||||||
      [=] { std::cout << reset_cursor_position << std::endl; });
 | 
					      [this] { std::cout << reset_cursor_position << std::endl; });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  disable({
 | 
					  disable({
 | 
				
			||||||
      DECMode::kCursor,
 | 
					      DECMode::kCursor,
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user