Commit graph

287 commits

Author SHA1 Message Date
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
Maas Lalani 844727f185
fix(table): hide extra style flags + fix envprefix 2022-10-13 11:02:08 -04:00
Dhruv Manilawala 2c66222fd8 fix(choose): error if selected options > limit
Rationale: If the number of selected options in `--selected` flag is
greater than the limit, the last `n` options are selected where `n` is
the limit.
2022-10-13 11:01:21 -04:00
David Lewis 1353b97272
added nix flake directions (#195)
* added nix flake directions

Co-authored-by: lew2mz <david.lewis@cchmc.org>
Co-authored-by: Maas Lalani <maas@lalani.dev>
2022-10-13 11:00:04 -04:00
Maas Lalani 08c34cfa2f chore: use --[no-]fuzzy as flag 2022-10-13 10:58:57 -04:00
Enrico Candino 8dec822e75 avoid Fuzzy search 2022-10-13 10:58:57 -04:00
Enrico Candino d45b728b4d fix "shuffling" 2022-10-13 10:58:57 -04:00
Enrico Candino d74f126d41 added exact match to filter 2022-10-13 10:58:57 -04:00
Maas Lalani 98ff7656d1 fix: inline file styles 2022-10-12 16:59:56 -04:00
lew2mz b92c9ec858 updated sha256 2022-10-12 11:38:54 -04:00
Maas Lalani dfa412fa1a
test: add table, pager, file to test 2022-10-11 17:47:14 -04:00
Maas Lalani b4c07eb3b9
fix(table): invalid column number 2022-10-11 14:40:25 -04:00
Caeden 1426c2fed9 fix(README): Change .text to .txt 2022-10-08 17:01:32 -04:00
Christian Muehlhaeuser 86fa35d672 perf: speed up filter rendering
We don't need to style each character individually, buffer them
and flush before highlights.
2022-10-07 23:01:38 -04:00
Maas Lalani db75c218de
fix(choose): selected bug when limit == 1 2022-10-07 18:57:26 -04:00
Maas Lalani 995bd04e38 docs: document gum table, file, pager
This commit documents `gum table`, `gum file`, and `gum pager` with
demonstration GIFs and sample scripts.
2022-10-07 15:38:48 -04:00
Maas Lalani 2bea4dc030 feat(file): gum file to pick files 2022-10-07 15:38:48 -04:00
Maas Lalani 430ab459d7 feat(pager): gum pager for scrolling through long documents 2022-10-07 15:38:48 -04:00
Maas Lalani bdd86d5fbc feat(table): gum table for tabular data 2022-10-07 15:38:48 -04:00
Dhruv Manilawala a82d5af1e8
feat(filter): add reverse layout (#177)
* feat: add reverse layout for filter command

* fix: linter warnings

* fix: keep viewport yoffset constant in reverse layout
2022-10-07 15:23:28 -04:00
Ayman Bagabas 0bd02434a3
docs: update apt/yum installation instructions 2022-10-06 17:30:43 -04:00
Maas Lalani 45e930c54e
chore: bump bubbletea@master 2022-10-06 14:55:03 -04:00