Warn for deprecated. (#94)

This commit is contained in:
Arthur Sonzogni
2021-05-16 09:57:55 +02:00
committed by GitHub
parent 69047ac1e4
commit ca0d74ac01
2 changed files with 2 additions and 1 deletions

View File

@@ -360,7 +360,7 @@ void ScreenInteractive::Loop(Component component) {
// On exit, reset cursor one line after the current drawing.
on_exit_functions.push(
[=] { std::cout << reset_cursor_position << std::endl; });
[this] { std::cout << reset_cursor_position << std::endl; });
disable({
DECMode::kCursor,