micro-editor / micro-editor/micro

Paging through terminal scrollback

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

Nobody has claimed this yet.

Dominant language
Go
Stars
29.6k
Forks
1.4k
Avg merge
2d 18h
Merged PRs (30d)
10

Description

I'm hoping to use micro as a lightweight C IDE of sorts but there is one seemingly missing feature that is preventing this for me and that is the apparent lack of the ability to page through the full output of commands run with the term command. For example, in my ~/.config/micro/bindings.json I have the line:

"Alt-x": "command:hsplit,command:term sh -c 'cd /home/dan/src/IKD/default;make'"

but when I execute that command I can only see the bottom part of the output of make, I am unable to use the Page Up and Page Down keys to scroll through the rest of the output in the terminal window.

Am I missing something or is this a feature request?

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 with the term command and the terminal window behavior described by the Alt-x binding in ~/.config/micro/bindings.json. Trace how command output is retained and how Page Up and Page Down are handled. Done means the terminal view can page through the full output of commands such as make, not only the bottom portion.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 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.