Remix.run Logo
Show HN: Full-featured CLI textarea component for React Ink(github.com)
2 points by omranjamal 10 hours ago

I was unhappy with multi-line text input libraries for React Ink so I decided to make one.

Full support for:

- Pasting multi-line text

- Opt + [Arrow Keys] to jump between words

- New Line via Shift + Enter / Ctrl + Enter / Opt + Enter

- Tab is a callback

- Syntax Highlighting via Regex (with JS function based overrides)

- Support for unicode and emojis

- Callbacks for arrow keys on boundaries (line line, or last character)

- Viewport & Virtualization

- Customizable line prefix (to support things like line numbers)

Would love feedback.