Repository navigation
feat: add viewport scroll commands to tapes - #707
Merged
aymanbagabas merged 2 commits intoMar 9, 2026
Merged
Conversation
Add ScrollUp and ScrollDown as first-class tape commands that scroll the terminal viewport by rows, with optional @time and repeat count. Wire them through token keywords, parser command types, and command execution using term.scrollLines(+/-1). Update docs and fixtures to include the new commands in README, manual, demo comments, and all.tape. Expand lexer/parser coverage and command count assertions for the new command surface. Fixes charmbracelet#404
joshka-oai
requested review from
meowgorithm and
raphamorim
and removed request for
a team
February 20, 2026 04:12
Contributor
Author
|
ping |
raphamorim
approved these changes
Mar 5, 2026
raphamorim
left a comment
Contributor
There was a problem hiding this comment.
Overral looks good to me! thank you
aymanbagabas
approved these changes
Mar 9, 2026
Contributor
Author
|
Hi, I’m seeing approvals here, but no merge or release activity. The failing checks also look unrelated to the actual change in this PR. I’d be happy to submit a small follow-up fix for those if that would help, but from the outside it also looks like this repo may no longer be actively maintained or released. Could someone confirm whether this project is still being maintained, and whether PRs like this are still expected to land? |
Contributor
|
Hi @joshka-oai, thank you for your patience and contribution. We're looking into why the checks are failing, and will merge your PR very soon. |
Contributor
|
Thank you @joshka-oai so much for your contribution! |
tmeijn
pushed a commit
to tmeijn/dotfiles
that referenced
this pull request
May 8, 2026
This MR contains the following updates: | Package | Update | Change | |---|---|---| | [vhs](https://github.com/charmbracelet/vhs) | minor | `0.10.0` → `0.11.0` | MR created with the help of [el-capitano/tools/renovate-bot](https://gitlab.com/el-capitano/tools/renovate-bot). **Proposed changes to behavior should be submitted there as MRs.** --- ### Release Notes <details> <summary>charmbracelet/vhs (vhs)</summary> ### [`v0.11.0`](https://github.com/charmbracelet/vhs/releases/tag/v0.11.0) [Compare Source](charmbracelet/vhs@v0.10.0...v0.11.0) ### Scroll? More keys? This release includes two nice features that include scrolling the viewport and supporting `Ctrl+<arrow>` keys. You can now use the `ScrollUp` and `ScrollDown` commands to scroll the viewport. VHS will also now recognize `Ctrl+Left/Up/Right/Down` keys. Thanks to [@​joshka-oai](https://github.com/joshka-oai) and [@​sectore](https://github.com/sectore) for their gracious contributions and support 🙂 #### Changelog ##### New! - [`bae3eb0`](charmbracelet/vhs@bae3eb0): feat: add viewport scroll commands to tapes ([#​707](charmbracelet/vhs#707)) ([@​joshka-oai](https://github.com/joshka-oai)) - [`9e27976`](charmbracelet/vhs@9e27976): feat: support `ctrl` + arrow keys ([#​673](charmbracelet/vhs#673)) ([@​sectore](https://github.com/sectore)) ##### Fixed - [`55f824a`](charmbracelet/vhs@55f824a): fix(docker): remove ubuntu font which is no longer available in alpine ([@​aymanbagabas](https://github.com/aymanbagabas)) - [`b8a1d86`](charmbracelet/vhs@b8a1d86): fix(docker): update env variables to use '=' ([@​aymanbagabas](https://github.com/aymanbagabas)) - [`9c80359`](charmbracelet/vhs@9c80359): fix: lint issues ([@​aymanbagabas](https://github.com/aymanbagabas)) ##### Other stuff - [`9efc235`](charmbracelet/vhs@9efc235): Fix lexer regex escaping ([#​678](charmbracelet/vhs#678)) ([@​raphamorim](https://github.com/raphamorim)) - [`0a14d2c`](charmbracelet/vhs@0a14d2c): ci: sync dependabot config ([#​660](charmbracelet/vhs#660)) ([@​charmcli](https://github.com/charmcli)) - [`0bb2251`](charmbracelet/vhs@0bb2251): ci: sync dependabot config ([#​668](charmbracelet/vhs#668)) ([@​charmcli](https://github.com/charmcli)) - [`a94d725`](charmbracelet/vhs@a94d725): ci: sync golangci-lint config ([@​caarlos0](https://github.com/caarlos0)) - [`be49219`](charmbracelet/vhs@be49219): ci: sync golangci-lint config ([#​650](charmbracelet/vhs#650)) ([@​github-actions](https://github.com/github-actions)\[bot]) *** <details> <summary>Verifying the artifacts</summary> First, download the [`checksums.txt` file](https://github.com/charmbracelet/vhs/releases/download/v0.11.0/checksums.txt) and the [`checksums.txt.sigstore.json` file](https://github.com/charmbracelet/vhs/releases/download/v0.11.0/checksums.txt.sigstore.json) files, for example, with `wget`: ```bash wget 'https://github.com/charmbracelet/vhs/releases/download/v0.11.0/checksums.txt' wget 'https://github.com/charmbracelet/vhs/releases/download/v0.11.0/checksums.txt.sigstore.json' ``` Then, verify it using [`cosign`](https://github.com/sigstore/cosign): ```bash cosign verify-blob \ --certificate-identity 'https://github.com/charmbracelet/meta/.github/workflows/goreleaser.yml@refs/heads/main' \ --certificate-oidc-issuer 'https://token.actions.githubusercontent.com' \ --bundle 'checksums.txt.sigstore.json' \ ./checksums.txt ``` If the output is `Verified OK`, you can safely use it to verify the checksums of other artifacts you downloaded from the release using `sha256sum`: ```bash sha256sum --ignore-missing -c checksums.txt ``` Done! You artifacts are now verified! </details> <a href="https://charm.land/"><img alt="The Charm logo" src="https://stuff.charm.sh/charm-banner-next.jpg" width="400"></a> Thoughts? Questions? We love hearing from you. Feel free to reach out on [X](https://x.com/charmcli), [Discord](https://charm.land/discord), [Slack](https://charm.land/slack), [The Fediverse](https://mastodon.social/@​charmcli), [Bluesky](https://bsky.app/profile/charm.land). </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this MR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box --- This MR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xNjguNSIsInVwZGF0ZWRJblZlciI6IjQzLjE2OC41IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJSZW5vdmF0ZSBCb3QiLCJhdXRvbWF0aW9uOmJvdC1hdXRob3JlZCIsImRlcGVuZGVuY3ktdHlwZTo6bWlub3IiXX0=-->
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ScrollUpandScrollDowntape commands for viewport row scrollingterm.scrollLines()Rendered output
Tape used:
Testing
Fixes #404