mirror of https://github.com/helix-editor/helix
This change switches out the terminal manipulation library to one I've been working on: Termina. It's somewhat similar to Crossterm API-wise but is a bit lower-level. It's also influenced a lot by TermWiz - the terminal manipulation library in WezTerm which we've considered switching to a few times. Termina is more verbose than Crossterm as it has a lower level interface that exposes escape sequences and pushes handling to the application. API-wise the important piece is that the equivalents of Crossterm's `poll_internal` / `read_internal` are exposed. This is used for reading the cursor position in both Crossterm and Termina, for example, but also now can be used to detect features like the Kitty keyboard protocol and synchronized output sequences simultaneously. |
||
---|---|---|
.. | ||
test | ||
integration.rs |