Commit graph

144 commits

Author SHA1 Message Date
bashbunni
2a95efc50d
feat: copy file contents to clipboard 2022-09-22 13:58:39 -07:00
Carlos A Becker
4214a0648f
feat: update bubbles and bubbletea
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-05-26 21:53:16 -03:00
Carlos A Becker
0e423ab23c
Merge branch 'master' into beta
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-05-26 21:50:03 -03:00
Carlos Alexandro Becker
c75609322f
feat(deps): update cobra and viper (#346)
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-05-26 16:35:24 -03:00
Christian Rocha
903edab0ed
Bump Lip Gloss to v0.5.0 2022-02-14 16:31:45 -05:00
Christian Rocha
11f627a132 Bump Bubbles to v0.10.2, update accordinly, and simplify spinners
* Remove (provisional) spinner lifetime stuff
* Remove generalized spin commands in favor of model-level commands
* Update textinput, viewport, and spinner constructors
2022-02-01 12:07:16 -05:00
Christian Rocha
2f37a2760d Bump Bubble Tea to v0.19.3 and update deprecated methods
* Update deprecated altscreen methods
* Update deprecated mouse methods
2022-02-01 12:07:16 -05:00
Christian Rocha
b37df2f640
Bump Bubble Tea to v0.19.1 2021-12-10 15:07:30 -05:00
Christian Rocha
8ea776eac9
Bump Charm to v0.9.1 (was previously at v0.0.0) 2021-12-10 15:05:55 -05:00
Christian Rocha
f1a4dd7318
Remove replace directives in go.mod 2021-12-06 12:24:08 -05:00
Toby Padilla
5ef51c47d3 Bump BubbleTea to v0.19.0 2021-11-17 11:54:27 -06:00
Christian Rocha
a212d342d7
Bump Bubble Tea and Lip Gloss dependencies 2021-10-22 13:16:49 -04:00
Christian Rocha
3f423367b1
Updates for recent-ish charm library API changes 2021-10-22 13:16:49 -04:00
Christian Rocha
3c28cef065
Remove stray charm/ui/common artifacts 2021-10-22 13:16:49 -04:00
Christian Rocha
5c376d623d
Bump Bubble Tea, Bubbles and Lip Gloss and do related updates
This update also removes any usage of the charm/common package
2021-10-22 13:16:49 -04:00
Toby Padilla
1075f196bf
Initial port to Charm kv backend 2021-10-22 13:16:49 -04:00
Toby Padilla
5d30629aa8
Move client stubs from old charm lib, port to new keygen tui 2021-10-22 13:16:49 -04:00
Tobias Klauser
1f2b3671c7 Use golang.org/x/term
The golang.org/x/crypto/ssh/terminal package is deprecated and merely a
wrapper around golang.org/x/term. Use the latter directly and avoid a
direct dependency on the former.
2021-04-29 15:34:10 +02:00
Christian Muehlhaeuser
4863f57cea
Bump bubbletea, glamour, and go-runewidth deps 2021-04-08 16:31:00 +02:00
Christian Muehlhaeuser
92b86072a4
Bump termenv to v0.8.1 2021-04-03 01:47:38 +02:00
Christian Muehlhaeuser
4f9ad6721c
Bump bubbletea dependency to v0.13.1 2021-03-13 04:38:54 +01:00
Christian Muehlhaeuser
0333e88252
Bump bubbletea dependency 2021-03-12 12:57:45 +01:00
Christian Muehlhaeuser
b6ec7ae14c
Bump glamour dependency 2021-03-11 16:39:18 +01:00
Christian Muehlhaeuser
5b29a023bf
Bump charm, babyenv, termenv, cobra, and viper dependencies 2021-03-11 16:33:53 +01:00
Christian Rocha
dedf7967b0 Bump Bubble Tea dependency 2021-03-02 13:18:14 -05:00
Christian Muehlhaeuser
08a8d4b5ed Bump gitcha to v0.2.0 2021-03-01 14:01:27 +01:00
Christian Rocha
542133c42b Bump Bubble Tea and Bubbles dependencies 2021-01-19 15:30:44 -05:00
Christian Rocha
28ccb85b2e Use ANSI-aware truncation 2020-12-24 10:29:22 -05:00
Christian Rocha
8d7b614688 Fine tuning + subtle behavioral adjustments to spinners + status messages 2020-12-24 10:29:22 -05:00
Christian Rocha
88806c8abc Make news stashable 2020-12-24 10:29:22 -05:00
Nicolas Martin
d9242c9a72 Expand the path for a specified style file 2020-12-16 17:04:35 +01:00
Christian Rocha
de09997fdb Normalize strings during filtering
This makes it easier to match characters with diacritics (i.e. you can type 'o'
and match an 'ö').
2020-11-17 15:57:55 -05:00
Nicolas Martin
d98e3c11ba Switch to sahilm/fuzzy for fuzzy-filtering and text highlighting 2020-11-17 15:57:55 -05:00
Christian Rocha
fb5a81f4d6 Upgrade to Bubble Tea v0.12.2 and Bubbles v0.7.5 2020-11-17 15:57:55 -05:00
Nicolas Martin
e985f96dc4 Add fuzzy filtering for stash notes 2020-11-17 15:57:55 -05:00
Christian Muehlhaeuser
d5446bfddd Add config file support
The combination of Viper & go-app-paths lets us detect a config file
'glow.yml' in various default config paths (XDG-compliant), across all
platforms.

Currently there are only two configuration values:

local: true
style: "/some/style.json"

Additionally, this introduces mapping environment variables to config
values:

GLOW_LOCAL="true"
GLOW_STYLE="/some/style.json"

The values will be used in this order:

CLI-arg > ENV-var > config file > default
2020-10-24 05:16:00 +02:00
Christian Rocha
cde8999cf6
Bump Bubble Tea and Bubbles deps for keybinding improvements 2020-10-22 15:59:22 -04:00
Christian Rocha
0949a6656b Update to bubbletea 0.12.0; minimum required changes 2020-10-19 15:50:50 +00:00
Christian Rocha
90499914a8
Bump bubbletea dependency for arrow key support on Windows 2020-10-13 15:50:43 -04:00
Christian Rocha
5f9c5b708d
Windows support + bump termenv dependency 2020-10-12 23:23:38 -04:00
Christian Muehlhaeuser
66caa28d64
Bump bubbletea, bubbles, charm & glamour dependencies 2020-10-06 18:34:39 +02:00
Christian Rocha
b30bf4cf6f Bump bubbletea for post-panic terminal restoration 2020-10-05 13:54:50 +02:00
Christian Rocha
21eccfd2c3 Hop back to Muesli's gitcha repo at master 2020-10-05 13:54:38 +02:00
Christian Rocha
26b3292f57 Don't allow stashing until authed + introduce "offline mode" in UI 2020-10-05 13:54:24 +02:00
Christian Rocha
17ea86e3ed Bump charm lib for stash-on-first-run fix 2020-10-05 13:54:24 +02:00
Christian Rocha
485774d0f9 Bump charm lib to fix crash if user data dir doesn't exist 2020-10-05 13:54:24 +02:00
Christian Rocha
a3a05fde9c Move ignore stuff to gitcha (and temporarily use the meowgorithm fork) 2020-10-05 13:54:23 +02:00
Christian Muehlhaeuser
a0ddc315de Bump gitcha dep 2020-10-05 13:54:01 +02:00
Christian Rocha
912c80651a Apply fine-grained spinner display rules to file listing view 2020-10-05 13:54:01 +02:00
Christian Rocha
cdc55a4b28 Always show spinner for a minimum amount of time when stashing 2020-10-05 13:53:49 +02:00