From f47fda7c8061303c0762c6b11b5f916993ead7ca Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Wed, 17 Jun 2026 10:09:34 +0200 Subject: lib: add basic tc attibute RAII type --- ttwhy/main.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'ttwhy/main.cpp') diff --git a/ttwhy/main.cpp b/ttwhy/main.cpp index fdaba88..32324c0 100644 --- a/ttwhy/main.cpp +++ b/ttwhy/main.cpp @@ -1,14 +1,15 @@ #include -#include +#include import ttwhy; auto main() -> int { - auto context = asio::io_context{}; - - std::println("The answer is {}", ttwhy::multiply(6, 7)); + auto terminal_attributes = ttwhy::scoped_attributes{fileno(stdin)} // + .canonical_mode(false) + .echo(false); + auto context = asio::io_context{}; context.run(); } -- cgit v1.2.3