Commit graph

308 commits

Author SHA1 Message Date
Mikael Fangel f46060ac43 Update write/command.go
Co-authored-by: Maas Lalani <maas@lalani.dev>
2023-03-09 12:59:53 -05:00
mikael f8adcd649b fixes errors with CR in write --value 2023-03-09 12:59:53 -05:00
dependabot[bot] 65f5a7e44e feat(deps): bump github.com/muesli/termenv from 0.14.0 to 0.15.0
Bumps [github.com/muesli/termenv](https://github.com/muesli/termenv) from 0.14.0 to 0.15.0.
- [Release notes](https://github.com/muesli/termenv/releases)
- [Commits](https://github.com/muesli/termenv/compare/v0.14.0...v0.15.0)

---
updated-dependencies:
- dependency-name: github.com/muesli/termenv
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-09 12:43:56 -05:00
mikael 708a653eae Fix for using --value in combination w/ --no-fuzzy
This add a check if the no fuzzy flag is set together with the
--no-fuzzy flag.
2023-03-09 12:42:55 -05:00
Mikael Fangel 2bda001480
fix(table): removed inheritance for selected foreground (#300) 2023-03-09 12:35:06 -05:00
Mikael Fangel 1267b7a78e
fix: added esc-key to quit table (#290) 2023-03-06 14:17:47 -05:00
Maas Lalani b5444d5f0b
feat: use filepicker bubble (#289)
* feat: use filepicker bubble

* fix: use new API

* chore: bump bubbles
2023-03-06 11:54:02 -05:00
Maas Lalani 99e6625a39
fix: don't use deprecated pager functions 2023-03-03 13:15:50 -05:00
Maas Lalani e5cb9877cf
chore: bump dependencies 2023-02-27 19:27:06 -05:00
Leon Stam 5431540431 feat(file): Add page up/down key bindings 2023-02-27 19:22:56 -05:00
Mathew Payne 83db83296a
Add staged file check for commit example (#269)
* Add staged file check for commit example

* fix: stage all confirmation

---------

Co-authored-by: Maas Lalani <maas@lalani.dev>
2023-02-27 19:19:23 -05:00
ChrHan 46dee843db
fix(prompt): fix default selection of prompt, timer and exit code (#148)
* fix(prompt): fix default selection of prompt, timer and exit code

* chore(comment): remove unused comment

* fix(confirm): ensure timer is located at fixed selection

* chore(confirm): remove inefficient assignment

* fix: default timeout selection

---------

Co-authored-by: Maas Lalani <maas@lalani.dev>
2023-02-27 19:16:08 -05:00
Maas Lalani e6de7749b1
fix: require choice for multiselect 2023-02-27 19:05:50 -05:00
Maas Lalani 440a3dd81c
fix: go mod tidy 2023-02-27 19:01:08 -05:00
MuXiu1997 877c475aa6
feat: add ctrl+@(ctrl+space) keybinding for choose and filter (#276)
* feat(filter): add ctrl+@ keybinding

* feat(choose): add ctrl+@ keybinding
2023-02-27 18:59:40 -05:00
dependabot[bot] 488138e4b5 feat(deps): bump github.com/charmbracelet/bubbletea
Bumps [github.com/charmbracelet/bubbletea](https://github.com/charmbracelet/bubbletea) from 0.23.1 to 0.23.2.
- [Release notes](https://github.com/charmbracelet/bubbletea/releases)
- [Commits](https://github.com/charmbracelet/bubbletea/compare/v0.23.1...v0.23.2)

---
updated-dependencies:
- dependency-name: github.com/charmbracelet/bubbletea
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-27 18:58:59 -05:00
Nicolas M f7d8ef5871 build: update go version to 1.17 2023-02-27 18:58:43 -05:00
Kris Schneider 78bb3b5f06 Added Scoop installation instructions for gum 2023-01-19 11:41:03 -05:00
dependabot[bot] 80f3598efd feat(deps): bump github.com/dustin/go-humanize from 1.0.0 to 1.0.1
Bumps [github.com/dustin/go-humanize](https://github.com/dustin/go-humanize) from 1.0.0 to 1.0.1.
- [Release notes](https://github.com/dustin/go-humanize/releases)
- [Commits](https://github.com/dustin/go-humanize/compare/v1.0.0...v1.0.1)

---
updated-dependencies:
- dependency-name: github.com/dustin/go-humanize
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-19 11:39:59 -05:00
Maas Lalani 36ef76185c
fix(confirm): esc should not exit with 130 2023-01-13 12:08:06 -05:00
Dhruv Manilawala 08ed3e2519
feat(choose): keep order of selected items (#182)
* feat(choose): keep order of selected items

* fix: KeepOrder -> Ordered

Co-authored-by: Maas Lalani <maas@lalani.dev>
2023-01-12 13:36:11 -05:00
Maas Lalani 832c4fc917 feat: ctrl+c / esc aborts action 2022-12-13 15:47:32 -05:00
Maas Lalani c8e6b4a9d5
fix: trim only trailing newline, space may be intentional 2022-12-13 15:41:01 -05:00
Maas Lalani 7756c809d1
fix(file): all default false (to match ls), GUM_FILE_ environment 2022-12-13 15:36:58 -05:00
Maas Lalani b4d7ebf2cb
fix(write): exit with status 130 on escape 2022-12-13 15:11:37 -05:00
Maas Lalani 240e163f01 feat(input): header values 2022-12-13 15:05:56 -05:00
Maas Lalani 2d54d5394e feat(choose): add ctrl+j / ctrl+k keybindings 2022-12-13 14:41:29 -05:00
Leon Stam e108bc4668 feat(pager): add --soft-wrap option to gum pager 2022-12-13 14:34:58 -05:00
dependabot[bot] b8dbcc3e82 feat(deps): bump github.com/alecthomas/kong from 0.7.0 to 0.7.1
Bumps [github.com/alecthomas/kong](https://github.com/alecthomas/kong) from 0.7.0 to 0.7.1.
- [Release notes](https://github.com/alecthomas/kong/releases)
- [Commits](https://github.com/alecthomas/kong/compare/v0.7.0...v0.7.1)

---
updated-dependencies:
- dependency-name: github.com/alecthomas/kong
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-06 20:08:26 -05:00
Mel Massadian 7169c0c490
fix: update bubbletea dependency (#248) 2022-12-06 20:08:00 -05:00
Christian Muehlhaeuser eb3c5c1037 chore: disable dependabot timer 2022-11-18 02:11:34 +01:00
Maas Lalani 614f0e8028
feat(style): allow passing input over stdin 2022-11-09 23:13:21 -05:00
Dieter Eickstaedt b0aba2261d
feature(choose): Adding option to use non-matching filter as result (#233) 2022-11-09 13:54:47 -05:00
Lee Marlow e38cfdaa10 Collapse err assignment and check 2022-11-07 10:09:56 -05:00
Lee Marlow 7bb92dec2f Set writer.Comma in same manner as reader.Comma
Fix linting issue with ignoring an error
2022-11-07 10:09:56 -05:00
Lee Marlow e20d3a97f0 Use encoding/csv to write proper CSV for the selected row 2022-11-07 10:09:56 -05:00
fedeztk 5ed1f2b1b8 feat(file): allow distinctly file/dirs selections 2022-11-01 21:41:29 -04:00
dependabot[bot] f0a8011b95 feat(deps): bump github.com/alecthomas/kong from 0.6.1 to 0.7.0
Bumps [github.com/alecthomas/kong](https://github.com/alecthomas/kong) from 0.6.1 to 0.7.0.
- [Release notes](https://github.com/alecthomas/kong/releases)
- [Commits](https://github.com/alecthomas/kong/compare/v0.6.1...v0.7.0)

---
updated-dependencies:
- dependency-name: github.com/alecthomas/kong
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-30 22:38:14 -04:00
Christian Muehlhaeuser b87d77554c docs: picture tag is causing display issues 2022-10-24 21:23:52 -04:00
Christian Muehlhaeuser d88f9aec55 docs: new readme footer 2022-10-24 02:46:16 -04:00
Christian Muehlhaeuser 1dec524b9a docs: mention BSD releases 2022-10-22 23:38:10 -04:00
Christian Muehlhaeuser 75c41866b2 docs: add Alpine & termux install instructions 2022-10-22 22:47:40 -04:00
Kevin Pham 57c8c90bfd feat(choose): use tab to toggle selection
Resolves #200
2022-10-18 16:31:21 -04:00
Maas Lalani 7a32dd579b feat: allow customization of glamour theme 2022-10-18 15:21:35 -04:00
Maas Lalani a1e2b3d3c3
fix: downgrade uniseg 2022-10-17 23:01:55 -04:00
Maas Lalani fd58eb07fc
fix: use program.Run() in pager 2022-10-17 20:26:26 -04:00
Maas Lalani 2e4ddce3f7
fix: use program.Start 2022-10-17 20:23:59 -04:00
Maas Lalani 5723977c68
chore: bump bubbletea@master 2022-10-17 20:07:27 -04:00
Ayman Bagabas 0b500f6ec9 docs: apt-key deprecation
Use the recommended keyrings path /etc/apt/keyrings

Per: https://manpages.debian.org/unstable/apt/apt-key.8.en.html#DEPRECATION
Fixes: https://github.com/charmbracelet/gum/issues/208
Fixes: https://github.com/charmbracelet/gum/pull/209
2022-10-17 16:45:44 -04:00
Maas Lalani 992cac834e fix: symlink directory follows directory 2022-10-13 11:48:23 -04:00