Commit graph

231 commits

Author SHA1 Message Date
Christian Rocha
531645e73e Keep selection in-bounds when paginating 2020-10-05 13:38:15 +02:00
Christian Rocha
211e66c738 Update Charm and Boba libraries 2020-10-05 13:38:14 +02:00
Christian Rocha
1f4970e25b Update for simpler pager library 2020-10-05 13:37:35 +02:00
Christian Rocha
f5df688860 Render with glamour asyncronously 2020-10-05 13:37:35 +02:00
Christian Rocha
c622816a43 Load selected item from stash into the pager 2020-10-05 13:37:35 +02:00
Christian Rocha
8ba5c1fa0d Spilling over top/bottom in stash browser goes to the prev/next page 2020-10-05 13:37:35 +02:00
Christian Rocha
5d2ca090ac Pass style argument to the Boba program 2020-10-05 13:37:35 +02:00
Christian Rocha
8bb2812a6b Keep page in bounds after resetting terminal size 2020-10-05 13:37:35 +02:00
Christian Rocha
7ea79793d7 Add Glow "logo" to stash browser 2020-10-05 13:37:35 +02:00
Christian Rocha
f3a91f0a40 For now, keep selection within current page 2020-10-05 13:37:35 +02:00
Christian Rocha
fd62cebfd1 Left/right + h/l to navigate pages 2020-10-05 13:37:35 +02:00
Christian Rocha
d2e2da70e2 Properly render one page of the stash 2020-10-05 13:37:35 +02:00
Christian Rocha
c7e584c68e Improve state on selected items in stash view 2020-10-05 13:37:35 +02:00
Christian Rocha
6e13ce3968 Fix status bar colors on light backgrouds 2020-10-05 13:37:35 +02:00
Christian Rocha
9bc86c1944 Fix character-chomping weirdness with a well-placed newline 2020-10-05 13:37:35 +02:00
Christian Rocha
c9979901fd Add status bar 2020-10-05 13:37:35 +02:00
Christian Rocha
05340539de Load chosen document into pager 2020-10-05 13:37:35 +02:00
Christian Rocha
5ea351abf5 Navigate over unpaginated stash 2020-10-05 13:37:35 +02:00
Christian Rocha
359828a719 Silence this Go linter message 2020-10-05 13:37:35 +02:00
Christian Rocha
25340455a7 Do it fullscreen 2020-10-05 13:37:33 +02:00
Christian Rocha
796504238f Render stash items 2020-10-05 13:36:52 +02:00
Christian Rocha
bb6904afe2 Load stash + fix spinner issues + render nothing useful
Note that this is we're currently building aginst unreleased versions of Charm and Boba.
2020-10-05 13:36:51 +02:00
Christian Rocha
da4e98f749 Stub out Stash UI + update for Boba v0.5.0 2020-10-05 13:36:50 +02:00
Christian Rocha
b58ee10487 Stub out Tea UI: create Charm client and generate keys if necessary 2020-10-05 13:36:11 +02:00
Christian Rocha
cd9ee93dca Configure git for private modules 2020-10-05 13:35:18 +02:00
Toby Padilla
20f7168306 Add pagination call 2020-10-05 13:35:17 +02:00
Christian Rocha
787b988663 Add Charm logo, remove SSH stuff 2020-10-05 13:33:39 +02:00
Christian Rocha
29b825b5d8 Remove authors in README 2020-10-05 13:33:39 +02:00
Toby Padilla
bbd6b1acc7 Update charm lib 2020-10-05 13:33:37 +02:00
Toby Padilla
4792345f31 Delete from stash command 2020-10-05 13:32:36 +02:00
Toby Padilla
bd52d1cee4 Get markdown command 2020-10-05 13:32:36 +02:00
Toby Padilla
395ae998dd List stash 2020-10-05 13:32:36 +02:00
Toby Padilla
03b7b9200c Print successful stash 2020-10-05 13:32:36 +02:00
Toby Padilla
a106bc0163 Working stash command 2020-10-05 13:32:34 +02:00
Christian Muehlhaeuser
294e4e292d
Bump glamour dependency 2020-09-11 06:24:30 +02:00
Jesse Millar
6025e736ea
Enable use of the GLAMOUR_STYLE environment variable (#152) 2020-07-23 18:03:03 +02:00
Christian Muehlhaeuser
a3552fd2ab
Fix goreportcard link 2020-05-05 07:51:26 +02:00
Christian Muehlhaeuser
d433820a1b
Validate options once 2020-05-05 07:48:05 +02:00
Christian Muehlhaeuser
c9af84b75a
Automatically detect terminal width, with a 120 char limit 2020-05-05 07:43:11 +02:00
Christian Muehlhaeuser
18fcf68c0f
Change default rendering width to 80 2020-05-05 07:28:33 +02:00
Christian Muehlhaeuser
c5d7aa0155
Rename readerFromArg to sourceFromArg 2020-03-31 08:57:49 +02:00
Christian Muehlhaeuser
ec9cc0bde4
Make source private 2020-03-31 08:53:35 +02:00
Christian Muehlhaeuser
5cdf8294a8
Use glamour's WithAutoStyle option as default 2020-03-31 06:58:21 +02:00
Christian Rocha
8d6da194eb
Add Glow logo to README 2020-03-06 13:27:10 -05:00
Christian Muehlhaeuser
b4398fca33
Link to pkg.go.dev instead of godoc.org 2020-03-04 17:42:26 +01:00
Christian Muehlhaeuser
0483c3d42a
Test against Go 1.14 2020-03-04 17:42:14 +01:00
Christian Muehlhaeuser
e4263b1286
Bump indirect goldmark & chroma dependencies 2020-03-04 14:48:22 +01:00
Christian Muehlhaeuser
e4091b0ff6 Update README 2020-02-28 07:19:51 +01:00
Christian Muehlhaeuser
360aca7ee5 Bump glamour & reflow dependencies 2020-02-28 07:19:51 +01:00
Christian Rocha
ba7c9a5ea5
Add Void Linux installation instructions 2020-02-26 11:47:09 -05:00