diff options
Diffstat (limited to 'ttwhy/io.cppm')
| -rw-r--r-- | ttwhy/io.cppm | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/ttwhy/io.cppm b/ttwhy/io.cppm index 09f16c8..5fd5e50 100644 --- a/ttwhy/io.cppm +++ b/ttwhy/io.cppm @@ -10,8 +10,7 @@ module; export module ttwhy:io; -import :event; -import :scanner; +import ttwhy.scanners; namespace ttwhy::io { @@ -69,10 +68,10 @@ namespace ttwhy::io auto executor = co_await asio::this_coro::executor; auto timer = asio::steady_timer{executor}; - auto queue = std::vector<input_event>{}; + auto queue = std::vector<scanners::input_event>{}; queue.reserve(16); - auto scanner = ansi_scanner{queue}; + auto scanner = scanners::ansi{queue}; auto raw_buffer = std::array<char, 64>{}; while (true) |
