v0.11.0

charmbracelet/gumv0.11.0Jul 21, 2023by github-actions[bot]

AI Summary

The release adds search functionality to the pager and introduces a global `--timeout` flag across all subcommands. It also improves TTY handling, adds customizable cursor modes, and introduces environment variables for formatting themes.

Key Highlights

  • Pager search functionality
  • Global `--timeout` flag added to all subcommands
  • Customizable cursor modes and cursor line text
  • New environment variables `GUM_FORMAT_THEME` and `GUM_FORMAT_LANGUAGE`
  • `--no-sort` flag for `gum filter`

New Features

  • pager search
  • timeout flag
  • customizable cursor modes
  • GUM_FORMAT_THEME environment variables
  • GUM_FORMAT_LANGUAGE environment variables
  • --no-sort flag

Full Release Notes

# Pager Search, Timeouts, and Bug fixes

This release of Gum includes several features and bug fixes to make your Gum usage more smooooth! 🧈

<img width="600" src="https://github.com/charmbracelet/gum/assets/42545625/b1dcd04b-fc79-4976-9035-899ead036f3c" />

## What’s Changed

### New

* Pager search functionality (by @MikaelFangel) in https://github.com/charmbracelet/gum/pull/321
* Strip ANSI for `gum filter` and `gum choose` when output is not a TTY
* Non-positive widths will cause `gum write` will use the entire terminal width
* `GUM_FORMAT_THEME` / `GUM_FORMAT_LANGUAGE` environment variables
* `--no-sort` flag for `gum filter`
* Customizable cursor modes
* Customizable cursor line text
* Add `--timeout` flag to all subcommands (by @deicon)

### Fixed

* Respect file path argument in filepicker

### Other stuff

* Switch to `termenv.EnvColorProfile()` by @kennyp in https://github.com/charmbracelet/gum/pull/387

## New Contributors

* @hopefulTex made their first contribution in https://github.com/charmbracelet/gum/pull/303
* @vahnrr made their first contribution in https://github.com/charmbracelet/gum/pull/374
* @kennyp made their first contribution in https://github.com/charmbracelet/gum/pull/387

**Full Changelog**: https://github.com/charmbracelet/gum/compare/v0.10.0...v0.11.0

* * *

<a href="https://charm.sh/"><img alt="The Charm logo" src="https://stuff.charm.sh/charm-badge.jpg" width="400"></a>

Thoughts? Questions? We love hearing from you. Feel free to reach out on [Twitter](https://twitter.com/charmcli), [The Fediverse](https://mastodon.technology/@charm), or on [Discord](https://charm.sh/chat).