Commit Graph

  • bb5d2853d2 Release v0.1.1 master v0.1.1 Michael Davis 2025-09-12 10:05:10 -04:00
  • 0968b8a2e7 Add a test case showing cursor reset CSI encoding Michael Davis 2025-09-12 10:01:04 -04:00
  • 121b9675e7 Only compile select2 on macos, otherwise compile poll2 Michael Davis 2025-09-12 09:59:38 -04:00
  • baf02dc76c Skip compiling select2 on Illumos (#13) Michael Zeller 2025-09-12 06:57:41 -07:00
  • db1005914e feat: expose parser (#12) Austin Schey 2025-09-10 06:55:15 -07:00
  • 1bc39a720f fix: prevent subtraction with overflow when extended mouse coordinates are disabled (#11) Austin Schey 2025-09-02 07:12:39 -07:00
  • dea8b0ba32 Release v0.1.0 v0.1.0 Michael Davis 2025-08-31 11:18:08 -04:00
  • d80232c098 Loosen requirement on windows-sys Michael Davis 2025-08-31 11:24:03 -04:00
  • b3d5a12cf9 unix: Fall back to reading LINES/COLUMNS in Terminal::get_dimensions Michael Davis 2025-08-31 10:23:54 -04:00
  • 5d82d07f17 fix: ensure try_read always reads at least once (#10) Austin Schey 2025-07-19 15:38:47 -07:00
  • 3f861342e0 fix: remove trailing semicolon from sgr attributes when chunking (#8) mariocala 2025-07-05 16:09:49 +02:00
  • a302bf2b6d fix: check if stdout is a tty before writing to it (#7) Austin Schey 2025-05-18 06:43:09 -07:00
  • b7f6c327a6 feat: add window pixel width and height (#6) Austin Schey 2025-05-15 09:16:40 -07:00
  • 07cc87ef7a Add a WindowSize struct for the terminal dimensions Michael Davis 2025-05-11 12:38:06 -04:00
  • d14e5c51c6 Windows: Fix zero/one-based handling of window resize events Michael Davis 2025-05-11 11:50:08 -04:00
  • bd391b13fa Windows: Borrow stdin/stdout when detected as a TTY Michael Davis 2025-05-11 11:01:39 -04:00
  • 8ae1d58a29 CI: Run clippy with default and all features enabled Michael Davis 2025-05-04 09:25:07 -04:00
  • d34387ca09 Type-erase the filter closure in EventStream Michael Davis 2025-05-04 09:19:05 -04:00
  • 36ce4accfe Expose the EventReader, make EventStream optional Michael Davis 2025-05-03 09:43:04 -04:00
  • 3cf5b6083e Chunk CSI attributes to fit conservative Ps limits Michael Davis 2025-05-03 09:22:53 -04:00
  • c51aaac0a1 Add Terminal::set_panic_hook Michael Davis 2025-04-14 09:46:17 -04:00
  • 587c15ed92 CI: Run on pushes to any branch Michael Davis 2025-04-14 09:47:04 -04:00
  • e8c27fb57c windows: Skip keyboard up and zero bytes in the parser Michael Davis 2025-04-10 15:58:04 -04:00
  • 6f4efc7331 Use semicolon syntax for foreground/background true color Michael Davis 2025-04-10 15:57:37 -04:00
  • e9513d0c8d examples: Poll for features response Michael Davis 2025-04-10 15:06:02 -04:00
  • dd23328fd9 Hardcode CP_UTF8 constant Michael Davis 2025-04-10 12:59:40 -04:00
  • 32f414c9e1 Remove Terminal::reset_mode Michael Davis 2025-04-10 12:19:30 -04:00
  • e0d38d7449 minor: Use SIGWINCH constant from signal-hook instead of rustix Michael Davis 2025-04-09 16:53:52 -04:00
  • 33066d7226 Clean up window-title example, use SetIconNameAndWindowTitle Michael Davis 2025-04-09 16:18:30 -04:00
  • 6a6bc32518 Add a CI workflow Michael Davis 2025-04-09 11:27:47 -04:00
  • ee7c65776c Support title and window manipulation, add an example Michael Davis 2025-04-09 10:35:19 -04:00
  • cdc5e334da docs: Clarify how popping Kitty keyboard flags works with the alt screen Michael Davis 2025-04-08 16:01:04 -04:00
  • 00086ec9d2 minor: Clean up event-read example comments and filter fn Michael Davis 2025-04-08 14:06:11 -04:00
  • 65643447f9 Include Crossterm & TermWiz licenses in the README Michael Davis 2025-04-08 12:27:28 -04:00
  • bfc9fc55e7 Add SgrAttributes::is_empty, remove '0' from SGR reset v0.1.0-beta.1 Michael Davis 2025-04-08 11:05:39 -04:00
  • 13a7d01f2d Add types for merging multiple SGR escapes into one Michael Davis 2025-04-08 10:41:20 -04:00
  • cac0aea6c6 Add back Drop glue for terminal types Michael Davis 2025-04-08 09:45:05 -04:00
  • 6c129f5b45 Fix cargo docs warnings Michael Davis 2025-04-07 18:35:43 -04:00
  • 9ed3ffcd69 Clean up the event-read example with decset/decreset macros Michael Davis 2025-04-07 16:03:41 -04:00
  • 2f1f1eff23 Set the version at v0.1.0-beta.1 for an initial release Michael Davis 2025-04-07 15:51:27 -04:00
  • 2c87f3b582 Rewrite README focusing on crossterm, termwiz, credit and licensing Michael Davis 2025-04-07 15:43:33 -04:00
  • 40d6558064 Add credit comments pointing back to original code Michael Davis 2025-04-07 15:31:35 -04:00
  • 86a3be0a47 Document reading VT sequences on Windows Michael Davis 2025-04-07 11:12:47 -04:00
  • fca131f25c examples: Call Terminal::reset_mode instead of relying on Drop Michael Davis 2025-04-07 13:10:21 -04:00
  • c2333d3df5 examples: Match all synchronized output events Michael Davis 2025-04-07 13:10:04 -04:00
  • b562dc4dc9 Fix compilation errors on Windows Michael Davis 2025-04-07 13:09:41 -04:00
  • 7c9ff64a0a minor: Remove TODO comment in Unix terminal Michael Davis 2025-04-07 12:29:36 -04:00
  • 93a4104699 Fold Contour theme mode VT extension into Csi::Mode Michael Davis 2025-04-07 12:22:47 -04:00
  • 6fc32c81d1 Add DECRQSS/DECRPSS for cursor style Michael Davis 2025-04-07 11:43:07 -04:00
  • 659a993859 Add a dummy event stream type for testing Michael Davis 2025-04-07 11:11:26 -04:00
  • d37c51f784 Add a helper trait like crossterm's Stylize Michael Davis 2025-04-07 10:42:53 -04:00
  • 327a630d59 Add OSC 'selection' commands and SetWindowTitle Michael Davis 2025-04-07 10:35:19 -04:00
  • 4989f49c8c Expose Terminal and PlatformTerminal at crate level Michael Davis 2025-04-07 10:33:57 -04:00
  • 347b84ddac Don't enable non-blocking mode for unix read handle Michael Davis 2025-04-06 18:24:41 -04:00
  • 2ba8f1da26 Add Null key Michael Davis 2025-04-06 16:20:14 -04:00
  • 8213c15ce7 Rename SGR 'Inverse' as 'Reverse' Michael Davis 2025-04-06 16:20:11 -04:00
  • f08c05c493 Reverse DECRQSS validity Ps Michael Davis 2025-04-06 14:42:49 -04:00
  • 0b6504b0ff Tune Terminal trait, remove drop glue Michael Davis 2025-04-06 08:51:34 -04:00
  • 5a9f9cb6b9 Add more utilities for OneBased, switch to u16 Michael Davis 2025-04-06 08:51:15 -04:00
  • 59c84a2ca0 Add an example for detecting terminal features with queries Michael Davis 2025-04-06 07:56:51 -04:00
  • ed4eedff18 Add DCS escape sequences and limited parsing for SGR Michael Davis 2025-04-05 18:17:20 -04:00
  • 83f050a9f9 Fix compilation error on older rustc versions Michael Davis 2025-04-05 10:22:37 -04:00
  • 1e2929502a Add CSI edit codes Michael Davis 2025-04-05 09:44:35 -04:00
  • 74495381f0 Fix flake devShell on macOS Michael Davis 2025-04-05 09:15:52 -04:00
  • e19965cba3 Add "'c' to show cursor position" to event-read example Michael Davis 2025-04-04 18:24:43 -04:00
  • f9f6f263e1 Fix compilation on macOS Michael Davis 2025-04-04 18:07:17 -04:00
  • 2c89d778cc Add more notes on the API and code sources Michael Davis 2025-04-04 17:36:42 -04:00
  • 69331eb20e Merge InternalEvent and Event together Michael Davis 2025-04-04 17:26:18 -04:00
  • 94902b408d Add cursor CSI types from termwiz Michael Davis 2025-04-04 17:06:48 -04:00
  • 762aa60e1d Merge input module into event module Michael Davis 2025-04-04 16:40:57 -04:00
  • 377898b337 Parse kitty flags, theme mode, PDA, synchronized output status Michael Davis 2025-04-04 16:29:58 -04:00
  • 863f2cafa2 Parse cursor position response Michael Davis 2025-04-04 15:18:57 -04:00
  • 52bda7da8c Parse normal and RXVT mouse events Michael Davis 2025-04-04 15:13:43 -04:00
  • edb84b0a27 Parse bracketed paste Michael Davis 2025-04-04 15:10:56 -04:00
  • 2130777345 Parse SGR mouse events Michael Davis 2025-04-04 15:09:10 -04:00
  • d1d81b910d Parse keyboard events Michael Davis 2025-04-04 14:53:03 -04:00
  • e5589ea658 rustix: Switch from io_uring to process for winch signal Michael Davis 2025-04-04 14:52:39 -04:00
  • 4228da335b Switch to ReadConsoleInputA on Windows Michael Davis 2025-04-04 12:33:39 -04:00
  • f0524012b4 Remove alternate screen handling from the terminal trait Michael Davis 2025-04-04 12:09:25 -04:00
  • e218550165 Catch up Windows to Unix Michael Davis 2025-04-04 11:37:53 -04:00
  • 1f13d80a3e Prepare the parser for manual testing Michael Davis 2025-04-04 10:45:27 -04:00
  • bcf22656d9 Add representation of mouse reports, modifiers Michael Davis 2025-04-03 17:35:46 -04:00
  • 154e920e96 Add support for SGR codes Michael Davis 2025-04-03 15:56:54 -04:00
  • f6bc1d97d1 Add CSI representation of the Kitty Keyboard Protocol Michael Davis 2025-04-03 14:45:36 -04:00
  • 157dc2c1b4 Add the CSI sequences necessary for enter/exit alternate screen Michael Davis 2025-04-03 14:05:02 -04:00
  • bd6941a07e Bound Terminal trait on io::Write Michael Davis 2025-04-03 12:45:46 -04:00
  • 8b3da04179 Allow polling and reading from the Terminal instance Michael Davis 2025-04-03 12:24:08 -04:00
  • e7b712819d Add some extra notes about Windows Michael Davis 2025-04-03 12:12:40 -04:00
  • 56504185b3 Parse Windows INPUT_RECORD into resize events and bytes Michael Davis 2025-04-03 11:23:22 -04:00
  • fbaa04ae23 Fix compilation on Windows and older Rust versions Michael Davis 2025-04-03 10:50:33 -04:00
  • c2ea9c3d9d Move closer to termwiz' parser Michael Davis 2025-04-03 10:26:40 -04:00
  • e9660c4f52 Rename InputEvent to Event, add bracketed paste variant Michael Davis 2025-04-03 10:18:43 -04:00
  • 5dec6da584 Add basics of styling: colors and underline kinds Michael Davis 2025-04-03 10:11:17 -04:00
  • 5f550d1cd0 Early sketch of the parser, minimize poll abstraction Michael Davis 2025-04-03 09:16:59 -04:00
  • 3a6ebcc4d0 Sketch out the event stream Michael Davis 2025-04-02 18:00:17 -04:00
  • 36909cdfc6 Adjust unix terminal and event source to changes made on Windows Michael Davis 2025-04-02 16:24:52 -04:00
  • 439d5fd9ff Sketch Windows event source Michael Davis 2025-04-02 16:16:41 -04:00
  • 1c6068b470 Initial sketch of Windows terminal Michael Davis 2025-04-02 14:58:26 -04:00
  • 50031077b8 Sketch Unix event source Michael Davis 2025-04-02 13:01:34 -04:00
  • 7fdac4325d Initial sketch of a Unix terminal Michael Davis 2025-04-01 14:16:03 -04:00