aboutsummaryrefslogtreecommitdiff
path: root/ttwhy/terminal/scanner.cppm
diff options
context:
space:
mode:
Diffstat (limited to 'ttwhy/terminal/scanner.cppm')
-rw-r--r--ttwhy/terminal/scanner.cppm6
1 files changed, 6 insertions, 0 deletions
diff --git a/ttwhy/terminal/scanner.cppm b/ttwhy/terminal/scanner.cppm
index f1540f2..bda9d88 100644
--- a/ttwhy/terminal/scanner.cppm
+++ b/ttwhy/terminal/scanner.cppm
@@ -250,4 +250,10 @@ export namespace ttwhy::terminal
template<event_sink Sink>
using ansi = scanner<Sink, ansi_policy>;
+ //! Convenience alias for a terminal scanner configured with the xterm policy.
+ //!
+ //! @tparam Sink The event sink callable type.
+ template<event_sink Sink>
+ using xterm = scanner<Sink, xterm_policy>;
+
} // namespace ttwhy::terminal