diff options
| author | Felix Morgner <felix.morgner@gmail.com> | 2026-06-19 19:25:30 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@gmail.com> | 2026-06-19 19:25:30 +0200 |
| commit | 7da39cd68d2bed2f49452ac5f9a3c01c52d0c5ba (patch) | |
| tree | a2c2adc18bc5bdaa1e1e2f80e75d1acbce78d7bb /ttwhy/io.cppm | |
| parent | b198d40e35050c8692296f06acedfaf5e3c8a023 (diff) | |
| download | ttwhy-7da39cd68d2bed2f49452ac5f9a3c01c52d0c5ba.tar.xz ttwhy-7da39cd68d2bed2f49452ac5f9a3c01c52d0c5ba.zip | |
lib: clean up structure
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) |
