Commit graph

22 commits

Author SHA1 Message Date
Carlos Alexandro Becker
098d09a270
fix(choose,confirm,file,filter,input,pager,spin): timeout default unit (#724)
Change it `0s` instead of `0`.

closes #402
2024-11-18 17:10:06 -03:00
Carlos Alexandro Becker
046a4d361e
fix: use 0 as default width (#634)
* fix: use 0 as default width

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* fix: filter width

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-07-25 13:12:30 -04:00
Maas Lalani
a8712df2a7
Show help with Huh? (#587)
* chore(deps): bump deps

* feat: show help using huh?

* fix: lint

* fix: test.sh
2024-05-25 14:51:20 -04:00
Maas Lalani
2d896f777e feat(filter): allow customizing placeholder 2024-01-13 15:33:58 -05:00
Maas Lalani
7e5b494ae4 feat(input): allow placeholder style customization 2024-01-13 15:33:58 -05:00
Dieter Eickstaedt
6bf79aa899
feat: Timeout for Filter Command (#382) 2023-06-30 09:18:02 -04:00
Maas Lalani
8f17aa3f9a feat(write,input): add --cursor.mode=hide,blink,static 2023-06-05 16:08:40 -04:00
Maas Lalani
7f54b3b289 feat(write): width < 1 uses terminal width 2023-05-11 15:13:01 -04:00
Maas Lalani
240e163f01 feat(input): header values 2022-12-13 15:05:56 -05:00
Maas Lalani
1479184f3f fix: satisfy all linters 2022-08-05 02:33:40 -04:00
Maas Lalani
46ce0e4761 feat: allow configuration via environment variables 2022-08-04 11:22:42 -04:00
Maas Lalani
bba0f3b1e0
refactor: remove unneeded set:"name=" 2022-08-03 12:28:02 -04:00
Mathias Griffe
06e8546366 feat: Make input and write textarea CharLimit configurable through options
Removes the hardcoded 400 chars CharLimit (default for textarea), and make the CharLimit configurable through an Option.
2022-08-03 11:20:09 -04:00
Christian Muehlhaeuser
66993d8ef1
Add soft & hard linter configs & workflows (#44)
* chore: add linter configs & workflows

* fix: ignore certain linter warnings

* fix: mark errors as intentionally ignored

* fix: avoid unnecessary conversion

* fix: handle template/renderer errors

* fix: mark intentionally unused code
2022-07-30 12:32:59 -04:00
Maas Lalani
5b7d006487 feat: add --password option for masked input 2022-07-29 11:21:23 -04:00
Maas Lalani
de59d7580d
fix: default to 40 2022-07-27 13:58:34 -04:00
Maas Lalani
44cc74e496
feat: autoresize textinput 2022-07-27 13:56:52 -04:00
Maas Lalani
bf8d9964df
feat: allow initial values of input and write to be set via stdin 2022-07-12 16:30:17 -04:00
Maas Lalani
02e925ea57
refactor: use embedded style struct for all lipgloss styling
This commit uses the embedded style struct for styling in all components. The most notable example is `gum write` where there are many styles that are used and composed for each component of the command.
2022-07-12 16:08:33 -04:00
Maas Lalani
593cf711be
feat: Allow setting initial value for input and write 2022-07-11 16:53:13 -04:00
Maas Lalani
fa4f09a413
feat: Default accent color is 212 (Bubble Gum Pink) 2022-07-07 17:46:22 -04:00
Maas Lalani
2f07eacf50
feat: Add gum input command
Input provides a shell script interface for the text input bubble. It
can be used to prompt the user for some input. The text the user entered
will be sent to `stdout`.

```
gum input --placeholder "What's your Bubble Gum flavor?" > answer.text
````
2022-07-07 13:28:52 -04:00