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
Christian Muehlhaeuser
b29f172c80
Bump gitcha dep
2020-10-05 13:53:26 +02:00
Christian Rocha
4b732ada50
Bump Termenv to 0.7.2
2020-10-05 13:53:26 +02:00
Christian Rocha
5bdf7649b0
Set ID of newly stashed markdowns so we can operate on them
2020-10-05 13:53:26 +02:00
Christian Rocha
651683cd21
Treat Markdown.CreatedAt as values per the updates in the charm lib
2020-10-05 13:53:26 +02:00
Christian Muehlhaeuser
be478cbaf3
Adapt to upstream gitcha API
2020-10-05 13:53:26 +02:00
Christian Muehlhaeuser
df15d81dbb
Bump gitcha dependency
2020-10-05 13:53:26 +02:00
Christian Rocha
d34a687ddc
Pin charm, glamour, and bubbles deps at master
2020-10-05 13:53:17 +02:00
Christian Rocha
881504e603
Bump Charm and Bubble Tea + de-bump Termenv to 0.7.0
2020-10-05 13:52:51 +02:00
Christian Muehlhaeuser
705665bda9
Bump charm dependency
2020-10-05 13:52:50 +02:00
Christian Rocha
7f26d27e84
Bump termenv
2020-10-05 13:52:36 +02:00
Toby Padilla
ad13b07382
Updated charm version
2020-10-05 13:52:36 +02:00
Christian Rocha
2ed9e71533
Bump Charm library + tiny associated code update
2020-10-05 13:52:35 +02:00
Christian Rocha
bf683538f8
Bump charm dependency and update keygen import
2020-10-05 13:52:22 +02:00
Christian Rocha
fa7c8f09f9
Respect -i/--identity flag in the TUI
2020-10-05 13:52:22 +02:00
Christian Rocha
956fc9ec57
Bump dependencies
2020-10-05 13:52:21 +02:00
Christian Rocha
25a5e6ee10
Bump Charm, Bubble Tea, and Termenv
2020-10-05 13:52:07 +02:00
Christian Rocha
89a794be7b
Bump charm lib dependency to get prod server settings
2020-10-05 13:52:07 +02:00
Christian Rocha
7dbd264deb
Bump bubbletea and bubbles for paste support in notes
2020-10-05 13:52:06 +02:00
Christian Muehlhaeuser
71d6ab0476
Bump gitcha dependency
2020-10-05 13:51:54 +02:00
Christian Rocha
66dd3a74cb
Bump bubbles to fix crash when deleting memo text
2020-10-05 13:51:43 +02:00
Christian Rocha
97d11c0065
Bump bubbles for fix where scroll wheel would render extra lines
...
In particular, the extra lines would be on the top and bottom of the
pager depending on the size of the terminal window.
2020-10-05 13:51:30 +02:00
Christian Rocha
3f22be5ae4
Bump gitcha and adjust for gitcha API changes
2020-10-05 13:51:19 +02:00
Christian Rocha
2b42115599
Bump bubbles to get pgup/pgdown in the stash (via the paginator)
2020-10-05 13:51:08 +02:00
Christian Rocha
f2fce69671
Bump Bubbletea dep for pgup/pgdown fixes (also bump Termenv to 0.6)
2020-10-05 13:50:53 +02:00
Christian Rocha
3619ad137a
Remove the bottom gap when closing the pager help whilst at the bottom
2020-10-05 13:50:38 +02:00
Christian Rocha
ad77b91f64
Bump bubbles for latest viewport fixes
2020-10-05 13:50:18 +02:00
Christian Rocha
1200b86729
Cleanup pager status bar view thanks to the latest updates in reflow
2020-10-05 13:50:03 +02:00
Christian Rocha
930f15fbee
Bump termenv to get ANSI-aware rune width support
2020-10-05 13:49:47 +02:00
Christian Rocha
e7cea6280a
Bump dependencies
2020-10-05 13:49:46 +02:00
Christian Rocha
e0bd2dd466
Crudely load local markdown files into the stash
2020-10-05 13:49:31 +02:00
Christian Rocha
71b9387e01
Add gitcha
2020-10-05 13:49:30 +02:00
Christian Rocha
c9fcf3b58e
Bump bubletea to fix macOS term bug where memo got sucked into scroll area
2020-10-05 13:49:03 +02:00
Christian Rocha
9931472aec
Bump Bubble Tea to fix bux where short docs show loader underneath
2020-10-05 13:49:03 +02:00
Christian Rocha
89e5e38953
Bump Bubble Tea to fix redraw bug with short documents
2020-10-05 13:49:02 +02:00
Christian Rocha
1280ed3bbe
Bump Bubble Tea to get captured variable/race condition fix on init
2020-10-05 13:48:22 +02:00