raphamorim / raphamorim/rio

[Question]: How to clear history

Open
#689 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
7.5k
Forks
353
Avg merge
2d 11h
Merged PRs (30d)
15

Description

Hi, I would like to know how to clear history, so that when I scroll up, I can no longer see them. I tired the ClearHistory action, but looks like it does not work.

My config

theme = "ayu_light"

[fonts]
size = 16

[bindings]
keys = [
  { key = "l", with = "control", action = "ClearHistory" },
]

My env

$ sw_vers
ProductName:		macOS
ProductVersion:		13.5
BuildVersion:		22G74

$ uname -a
Darwin Steves-MacBook-Air.local 22.6.0 Darwin Kernel Version 22.6.0: Wed Jul  5 22:22:52 PDT 2023; root:xnu-8796.141.3~6/RELEASE_ARM64_T8103 arm64

Rio: 0.1.14 (20230528.115631)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the configured ClearHistory action in Rio 0.1.14 on macOS 13.5, then trace how that action affects the terminal's scrollback when scrolling up. Done means invoking the configured binding removes previously visible history from the scrollback.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, rust
Domain
cli, desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.