mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2024-11-26 12:37:06 +08:00
Warn for deprecated. (#94)
This commit is contained in:
parent
69047ac1e4
commit
ca0d74ac01
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user