V0.5.0 #4

Merged
irammini merged 4 commits from dev into main 2026-01-23 21:51:04 +00:00
irammini commented 2026-01-23 19:51:04 +00:00 (Migrated from github.com)
No description provided.
irammini commented 2026-01-23 19:51:33 +00:00 (Migrated from github.com)

In this commit:

  • Replaced static MepCLI.spin with instance-based MepCLI.spinner().
  • Created Spinner class in src/spinner.ts with manual control methods (start, stop, update, success, error, clear).
  • Implemented robust SIGINT handling in Spinner to ensure cursor restoration.
  • Updated example.ts and README.md to reflect the API changes.
  • Removed backward compatibility for MepCLI.spin.
In this commit: - Replaced static `MepCLI.spin` with instance-based `MepCLI.spinner()`. - Created `Spinner` class in `src/spinner.ts` with manual control methods (`start`, `stop`, `update`, `success`, `error`, `clear`). - Implemented robust `SIGINT` handling in `Spinner` to ensure cursor restoration. - Updated `example.ts` and `README.md` to reflect the API changes. - Removed backward compatibility for `MepCLI.spin`.
irammini commented 2026-01-23 21:02:47 +00:00 (Migrated from github.com)

In this commit:

  • Implemented AutocompletePrompt with async suggestion fetching, debouncing, and loading spinner.
  • Implemented SortPrompt for reordering list items using space to grab and arrows to move.
  • Implemented TablePrompt for selecting rows in a tabular format with auto-calculated column widths.
  • Updated MepCLI facade and types to export the new prompts.
  • Updated tsconfig.json to include node types.
  • Fixed race condition in async autocomplete.
  • Fixed cursor alignment for wide characters in autocomplete input.
In this commit: - Implemented `AutocompletePrompt` with async suggestion fetching, debouncing, and loading spinner. - Implemented `SortPrompt` for reordering list items using space to grab and arrows to move. - Implemented `TablePrompt` for selecting rows in a tabular format with auto-calculated column widths. - Updated `MepCLI` facade and `types` to export the new prompts. - Updated `tsconfig.json` to include node types. - Fixed race condition in async autocomplete. - Fixed cursor alignment for wide characters in autocomplete input.
irammini commented 2026-01-23 21:18:32 +00:00 (Migrated from github.com)

In this commit:

Updates README.md to document the autocomplete, sort, and table prompts, including their features, API reference, and mouse support details.
Updates example.ts to include working demos for these three prompts in the comprehensive demo script.
Also bumps version to 0.5.0.

In this commit: Updates README.md to document the `autocomplete`, `sort`, and `table` prompts, including their features, API reference, and mouse support details. Updates example.ts to include working demos for these three prompts in the comprehensive demo script. Also bumps version to `0.5.0`.
Sign in to join this conversation.
No description provided.