Commit Graph

49 Commits

Author SHA1 Message Date
Maas Lalani 5f7a07b03c
chore(deps): bump bubbles to v0.16.1 2023-05-31 14:08:43 -04:00
Christian Muehlhaeuser 6eb0209d13 chore: bump termenv, lipgloss, x/term 2023-04-04 13:27:12 +02:00
Christian Muehlhaeuser 35c31f2168 chore: bump console dep 2023-03-13 18:09:44 +01:00
dependabot[bot] 388c67d573
feat(deps): bump golang.org/x/text from 0.3.7 to 0.3.8 (#674) 2023-02-23 16:29:25 +00:00
Christian Rocha 1ad9f9c15c chore(deps): bump termenv and go-isatty
Also bump various deps in tutorials and examples
2023-02-08 10:04:56 -05:00
Christoffer Åström e95e1a0db5 feat: `sequence` support `BatchMsg` 2023-02-07 10:06:46 -05:00
Christian Muehlhaeuser 6c449e55bf feat: use Termenv.Output to write to tty 2022-09-27 02:49:36 +02:00
mattn 6b685056fc
fix: support multi-byte strings on Windows (#343)
* convert locale string to utf-8 on Windows

* update go.mod

* revert go fmt ./...

* fix(lint): use tabs in GoDoc example code

Co-authored-by: Christian Rocha <christian@rocha.is>
2022-08-19 09:25:22 -07:00
Christian Muehlhaeuser ca333e7d79 chore: bump go-isatty dep 2022-08-15 12:26:30 +02:00
dependabot[bot] ac4a1a1faa
feat(deps): bump github.com/muesli/cancelreader from 0.2.1 to 0.2.2 (#354)
* feat(deps): bump github.com/muesli/cancelreader from 0.2.0 to 0.2.2

Bumps [github.com/muesli/cancelreader](https://github.com/muesli/cancelreader) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/muesli/cancelreader/releases)
- [Commits](https://github.com/muesli/cancelreader/compare/v0.2.0...v0.2.2)

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

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

* fix: examples

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-07-21 10:02:18 -03:00
Carlos Alexandro Becker ca32c4c628
feat: update cancelreader (#353)
* feat: update cancelreader

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

* fix: go mod tidy

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

* fix: go mod tidy

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

* fix: use stable

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-06-23 09:19:36 -03:00
Christian Muehlhaeuser 515ef02733 Move cancelreader into a separate package 2022-04-05 20:41:21 +02:00
Carlos Alexandro Becker 62259b72e5
feat: update x/sys (#235)
* feat: update x/sys

current version breaks builds for windows/arm64

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* fix: examples go.sum

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* fix: tutorials go.sum

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-02-19 16:25:49 -03:00
Christian Rocha 7241e910ec Bump containerd/console 2022-02-15 10:02:56 -05:00
Christian Muehlhaeuser 4d1d1ee021 chore: bump lipgloss and termenv 2022-02-14 23:20:51 +01:00
Christian Muehlhaeuser 77e63ac890 Bump termenv to v0.11.0 2022-01-31 23:04:37 +01:00
Christian Rocha 99ba63fe8a
Bump main, example, and tutorial dependencies 2022-01-13 11:41:09 -05:00
Christian Rocha e52d1f1e90 Bump reflow, termenv and go-isatty 2021-10-28 09:45:43 -04:00
Christian Muehlhaeuser c29912c179 Enable ANSI compressor
With this change all ANSI output will be piped through an ANSI compressor that
eliminates redundant ANSI sequences. As such the compressor can be considered
"lossless".
2021-10-28 09:45:43 -04:00
Christian Rocha 863e2ad74e Bump containerd/console to v1.0.2 2021-08-02 10:50:04 -04:00
Tobias Klauser 295f7bd246 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 the
dependency on the former altogether.
2021-04-29 15:05:50 +02:00
Christian Muehlhaeuser 72ce94f47d
Bump termenv to v0.8.1 2021-04-03 01:43:33 +02:00
Christian Muehlhaeuser 92a795256a go mod tidy 2021-02-25 10:49:33 -05:00
Christian Rocha e9efdf841b
Bump reflow for updated go-runewidth 2021-01-15 12:36:59 -05:00
Christian Rocha 1f6191c671 Automatically trim lines wider than the window width 2021-01-14 20:14:39 -05:00
Christian Rocha eb919b622f
Use containerd/console for raw mode to get arrow key support on Windows 2020-10-13 15:41:48 -04:00
Christian Rocha 4d14af713f
Remove pkg/term dependency 2020-10-13 12:55:38 -04:00
Christian Rocha 9c9a92c349
Add Windows support 2020-10-12 23:14:55 -04:00
Christian Rocha 4390b305ef
Update dependencies 2020-10-02 13:19:59 -04:00
Christian Rocha 8f69da6ba0
Udpate Termenv to 0.7.2 2020-08-22 11:23:25 -04:00
Christian Rocha 8838839847
Bump Termenv to 0.7.0 2020-08-19 14:11:02 -04:00
Christian Rocha a784aa32ca
Bump bubbles in examples and remove NewModel function in pager example 2020-07-29 20:07:26 -04:00
Christian Rocha 8d26b4ebd7
Use mouse consts in termenv 2020-06-25 12:42:31 -04:00
Christian Rocha 719d246edd
Bump dependencies 2020-06-22 13:54:16 -04:00
Christian Rocha 090c983bd5
Bump termenv and futher integrate it into terminal controls 2020-06-17 11:17:41 -04:00
Christian Rocha 35731d4046
Bump termenv dependency 2020-05-26 13:04:56 -04:00
Christian Rocha 15e623358e
Bump dependencies, namely github.com/pkg/term 2020-05-21 22:31:39 -04:00
Christian Rocha 82ddbb8e12
Move components over and update examples 2020-05-12 17:06:00 -04:00
Christian Rocha 39ec5b5233
Bump termenv with fix for redraws on mosh, konsole 2020-04-30 19:29:59 -04:00
Christian Rocha 58a047c2ac
Bump termenv to v0.5.0 2020-03-31 11:18:42 -04:00
Christian Rocha 87ff36e345
Bump termenv dependency 2020-03-27 12:14:23 -04:00
Christian Muehlhaeuser f382f4db4a
Move ansi helpers to termenv 2020-01-31 13:52:20 +01:00
Christian Rocha 29799c3151
Go mod tidy 2020-01-25 22:22:28 -05:00
Christian Rocha 651b881a02
Update examples to use new subscription model 2020-01-25 21:28:16 -05:00
Christian Rocha e1d4a14345
Commands should probably receive the model as an arg, right? 2020-01-20 10:35:03 -08:00
Christian Rocha df52853f9d
Use canonical module name and clean up go.mod/sum 2020-01-18 10:45:46 -05:00
Christian Rocha 4f42c502ed
Fullscreen mode via altscreen + fullscreen example 2020-01-17 15:37:04 -05:00
Christian Rocha b6c8792309
Multi-view example with progress bar 2020-01-14 13:47:36 -05:00
Christian Rocha bee32ca733
Initial commit. First pass. 2020-01-10 16:02:04 -05:00