vercel / vercel/hyper

Auto-hide very very long lines when cat-ing or grep-ing

Open
#506 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

🎨 Type: Enhancement help wanted
Dominant language
TypeScript
Stars
44.7k
Forks
3.6k
Avg merge
21m
Merged PRs (30d)
1

Description

Hyperterm crawls to a stop if you're grepping (or ag-ing) for something and it matches a bundle.js or bundle.js.map or other files which have very long lines. Perhaps there could be something done to stop this. E.g. measure length of lines and only show the first 2000 characters or something.

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

The issue names no implementation file or test. Start by locating how Hyper renders output from cat, grep, or ag commands, then determine where very long lines can be bounded without hiding normal output. Done means long matching lines no longer make the terminal crawl and the behavior is covered by an appropriate test.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.