Commit graph

741 commits

Author SHA1 Message Date
Carlos Alexandro Becker
c1483664d5
fix: do not use deprecated func (#451)
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-01-24 15:02:10 -03:00
Carlos Alexandro Becker
8b5468468a
fix: improve editor handling (#449)
* fix: improve editor handling

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

* test: add tests

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-01-24 14:51:11 -03:00
Carlos Alexandro Becker
0325be3670
fix: rm emoji from package description (#453) 2023-01-24 14:17:47 -03:00
WieeRd
19732a6303 fix: support hard line breaks (charmbracelet#212) 2023-01-23 17:41:06 +01:00
Christian Rocha
6543979ed1 fix: performance scrolling
This update fixes performance scrolling by way of the latest Bubbles
release: v0.15.0.
2023-01-20 11:55:40 -05:00
Maas Lalani
071783d907
feat: copy contents of document (#439)
* feat: copy contents of document

Co-authored-by: bashbunni <bash@charm.sh>

* fix: use atotto/clipboard for copying

Co-authored-by: bashbunni <bash@charm.sh>
2023-01-20 11:06:02 -05:00
Maas Lalani
6ba2683628
Show edit help when editable (#442)
* fix: only show edit help on pager when editable

* fix: only allow `LocalDoc`s to be edited

* feat: show e • edit help when document is editable
2023-01-19 14:13:41 -05:00
Justin Moser
dd1593b10d Keybindings for editing the document from the pager 2023-01-06 13:37:21 -05:00
Nils Leif Fischer
ff59ead353 Extend example how to read from stdin 2023-01-06 13:29:12 -05:00
dependabot[bot]
b9f519e1ea feat(deps): bump github.com/charmbracelet/bubbletea
Bumps [github.com/charmbracelet/bubbletea](https://github.com/charmbracelet/bubbletea) from 0.23.0 to 0.23.1.
- [Release notes](https://github.com/charmbracelet/bubbletea/releases)
- [Commits](https://github.com/charmbracelet/bubbletea/compare/v0.23.0...v0.23.1)

---
updated-dependencies:
- dependency-name: github.com/charmbracelet/bubbletea
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-06 13:19:12 -05:00
dependabot[bot]
5b43697cb3 feat(deps): bump golang.org/x/text from 0.4.0 to 0.6.0
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.4.0 to 0.6.0.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.4.0...v0.6.0)

---
updated-dependencies:
- dependency-name: golang.org/x/text
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-06 13:18:06 -05:00
Maas Lalani
d9bf3b8ee8 fix: don't close HTTP body 2022-12-19 18:09:17 -05:00
Carlos A Becker
9f110c304b
docs: update license year
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-12-05 14:49:35 -03:00
Maas Lalani
a07fdb73f0 feat(ui): e to open edit local markdown files in editor
Introduce key binding to allow users to open their `EDITOR` to edit local markdown files in stash and pager view.
2022-11-23 09:40:07 -05:00
Christian Muehlhaeuser
400f3f8e1f chore: disable dependabot timer 2022-11-18 02:23:00 +01:00
Carlos A Becker
4dd3ba1d3c chore: fmt & lint issues 2022-11-11 02:14:26 +01:00
Carlos A Becker
60d98a01e5 feat: bump deps 2022-11-11 02:14:26 +01:00
Christian Rocha
db7f49b445 Bump Bubbles to v0.14.0, update accordingly, and simplify spinners
* Re-implement spinner min/max lifetimes in pager
* Remove generalized spin commands in favor of model-level commands
* Update textinput, viewport, and spinner constructors
2022-11-11 02:14:26 +01:00
Christian Rocha
9c9b3e6087 Bump Bubble Tea, Bubbles, Glamour, Lip Gloss, and Termenv and do related updates
This update also removes any usage of the charm/common package

Co-authored-by: Christian Rocha <christian@rocha.is>
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-11-11 02:14:26 +01:00
Carlos A Becker
d2870afb3d chore: go 1.16
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-11-11 02:14:26 +01:00
Ayman Bagabas
dec59a2199
feat(ci): use config files from meta repo (#389)
* chore: bump cobra & viper

* feat(ci): use config files from meta repo

* publish docker images
* generate shell completions
* generate man pages

* feat(ci): use shared workflows from meta repo
2022-10-26 16:05:52 -03:00
Carlos Alexandro Becker
5f14914b7e
fix: editor with args (#364)
* fix: editor with args

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

* Update config_cmd.go

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-10-25 15:35:12 -03:00
Christian Muehlhaeuser
44b078e44a
docs: new readme footer (#396) 2022-10-25 15:26:53 -03:00
dependabot[bot]
74b70644ba
chore(deps): bump actions/setup-go from 2 to 3 (#405)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 2 to 3.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-25 15:01:50 -03:00
dependabot[bot]
8eede63988
chore(deps): bump goreleaser/goreleaser-action from 2 to 3 (#402)
Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action) from 2 to 3.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases)
- [Commits](https://github.com/goreleaser/goreleaser-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: goreleaser/goreleaser-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-25 15:01:26 -03:00
dependabot[bot]
06f85dda9a
chore(deps): bump golangci/golangci-lint-action from 2 to 3 (#401)
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 2 to 3.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-25 15:01:12 -03:00
dependabot[bot]
7486c604d7
chore(deps): bump actions/checkout from 2 to 3 (#400)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-25 15:00:48 -03:00
Carlos A Becker
5e24b49e3e
chore: dependabot
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-10-25 14:59:44 -03:00
Carlos A Becker
1e8666011b
docs: fix missing commas
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-10-25 11:07:35 -03:00
Ayman Bagabas
580642af8b
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
2022-10-17 16:48:40 -04:00
Ayman Bagabas
1237ee6bf0
docs: update apt/yum installation instructions 2022-10-06 17:20:45 -04:00
Jon Austin
3607b402a6
docs: streamline install instructions (#308)
* update to mimic the melt readme

Add a note to just use `go install` for installation.
2022-09-24 17:47:35 -07:00
Christopher Murphy
e0d667a48c fix: use filepath.Dir instead of path.Dir
Use the `filepath` implementation of `Dir` instead of `path`. Resolve
path resolution with Windows paths containing `\\` separators.
2022-09-16 11:42:22 +02:00
Christian Muehlhaeuser
7f810bfc9f docs: add Chocolatey install instructions to README 2022-09-10 04:26:52 +02:00
tploss
e078953667 Remove exit message
As already discussed in https://github.com/charmbracelet/glow/issues/329
the exit message can be a bit irritating, especially when integrating
glow into scripts/etc.
PR https://github.com/charmbracelet/glow/pull/331 did more than just
remove the exit message but was since closed by the requestor.
2022-07-12 12:16:45 +02:00
Carlos Alexandro Becker
01d9858f7c
fix: goreleaser workflow (#358)
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-07-08 15:30:10 -03:00
Ayman Bagabas
84b2e5bc42 docs: add apt/yum repos to readme 2022-07-08 14:25:58 -04: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
Ayman Bagabas
b36e5ad810
feat: sync glow with git.charm.sh 2022-01-24 17:11:42 -05:00
Christian Muehlhaeuser
a8a1b98c73
glow is now in the community repo and can directly be installed with pacman 2022-01-24 01:53:57 +01:00
Christian Rocha
8138788b0a Automatically read from stdin if stdin is a pipe 2021-10-22 13:13:09 -04:00
Sebastian Cohnen
8fc9a300a4 Update README.md
adds macOS to the list of releases that are available for ARM
2021-08-14 09:29:35 +02:00
Christian Muehlhaeuser
adfc2b1c2a Update linter config 2021-07-12 03:00:48 +02:00
Christian Rocha
d0737b41af Update README footer per the newer Charm repos 2021-05-18 17:10:24 -04:00
Christian Rocha
24fc70e56b Update date in LICENSE 2021-05-18 17:10:24 -04:00
Christian Muehlhaeuser
442333d77c Fix goreportcard badge 2021-05-18 20:54:45 +02: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
ca833c733c Only login to snapcraft when secret is available in goreleaser workflow 2021-03-28 08:24:25 +02:00