Maas Lalani
35e044d140
fix: use WithAltScreen instead of deprecated EnterAltScreen
2022-08-04 11:21:51 -04:00
Maas Lalani
b8669c420b
fix: enter AltScreen
if auto height
2022-08-04 11:15:21 -04:00
Maas Lalani
bba0f3b1e0
refactor: remove unneeded set:"name="
2022-08-03 12:28:02 -04:00
Maas Lalani
c049d1a5fa
feat: filter height and scrolling viewport
2022-08-02 16:40:57 -04:00
Maas Lalani
b670c6d674
refactor: bubble up ErrAborted
2022-07-30 21:42:48 -04:00
Maas Lalani
d324abeab5
refactor: exit package
2022-07-30 21:23:25 -04:00
Christian Muehlhaeuser
6538d726d1
feat: ctrl-c & esc abort filtering
2022-07-30 21:23:25 -04:00
Maas Lalani
cb590e324e
chore: fix linting
2022-07-30 18:04:26 -04:00
Maas Lalani
c9caec2c62
fix(filter): TrimSpace
on input
2022-07-30 16:50:28 -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
610e054fb5
feat(filter): add ctrl+j and ctrl+k keybindings
2022-07-28 16:15:32 -04:00
Christian Rocha
ba0651db08
chore: change filter default placeholder text to 'Filter...'
2022-07-26 11:12:43 -07:00
Ayman Bagabas
eaef49cdbe
feat: autocompletion
2022-07-25 13:03:18 -04:00
Maas Lalani
5de4df66d2
refactor: add package comments describing behavior
2022-07-13 09:55:36 -04:00
Maas Lalani
7190822247
refactor(kong): Implement Run(...) error
interface
...
Instead of needing to run the commands manually in main.go, we can implement the `Run(...) error` method to satisfy the command interface so that `kong` can Run our commands for us.
2022-07-12 22:33:52 -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
901e367fe2
refactor: rename gum search
to gum filter
2022-07-08 13:58:14 -04:00