aboutsummaryrefslogtreecommitdiff
path: root/ttwhy/main.cpp
blob: 32324c0d57f270b0d1348841b4a925366a802b46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <asio/io_context.hpp>

#include <stdio.h>

import ttwhy;

auto main() -> int
{
  auto terminal_attributes = ttwhy::scoped_attributes{fileno(stdin)}  //
                                 .canonical_mode(false)
                                 .echo(false);

  auto context = asio::io_context{};
  context.run();
}