nushell / nushell/reedline

Proposal: Add a status bar below the input prompt

Open
#1,063 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
818
Forks
249
Avg merge
4d 14h
Merged PRs (30d)
30

Description

It would be useful for reedline to support an optional status bar that is rendered below the current prompt/input area.

For example, an interactive client like scopeql may want to keep the current connection and output mode visible while the user edits a query. Putting this into the prompt makes the prompt noisy, and printing it as normal output means it is no longer tied to the current input.

A status bar below the input area would provide a dedicated place for this kind of context while keeping Prompt focused on prompt text.

Example:

scopeql>
default · http://127.0.0.1:6543 · json · timer on

A possible API shape would be a StatusBar trait whose render() method receives the current editor context and returns the lines to draw.

Contributor guide

Open the contributing guide

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

The issue names no files or tests; start by locating reedline's Prompt API and the rendering path for the current input area. Define the optional StatusBar interface and its editor context, then verify that status-bar lines render below the input without changing normal prompt or output behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.