diff options
| author | Felix Morgner <felix.morgner@gmail.com> | 2026-10-26 19:15:33 +0100 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@gmail.com> | 2026-10-26 19:15:33 +0100 |
| commit | b051983db21290871c7a33cf8189f415c07f8a24 (patch) | |
| tree | 4258f9fdc05f5eec0341147047d8eb40ea055454 /ttwhy/terminal/scanner.cppm | |
| parent | 79a35574ce6d472f7a7cc4a200a1ed7befe34066 (diff) | |
| download | ttwhy-b051983db21290871c7a33cf8189f415c07f8a24.tar.xz ttwhy-b051983db21290871c7a33cf8189f415c07f8a24.zip | |
terminal: improve function and control key handling
Diffstat (limited to 'ttwhy/terminal/scanner.cppm')
| -rw-r--r-- | ttwhy/terminal/scanner.cppm | 6 |
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 |
