vercel / vercel/hyper

problem with ainsi color, display escape characters

Open
#7,140 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
44.7k
Forks
3.6k
Avg merge
21m
Merged PRs (30d)
1

Description

  • [x ] I am on the latest Hyper.app version
  • [x ] I have searched the issues of this repo and believe that this is not a duplicate

Issue

Cannot display properly ansi color, can be reproducible with poetry cli - https://python-poetry.org/

Microsoft Windows [Version 10.0.17763.4131]
(c) 2018 Microsoft Corporation. All rights reserved.

C:\Users\stephane.nsakala>poetry
?[39;1mPoetry?[39;22m (version ?[36m1.4.2?[39m)

?[39;1mUsage:?[39;22m
  command [options] [arguments]

?[39;1mOptions:?[39;22m
  ?[36m-h, --help?[39m                 Display help for the given command. When
no command is given display help for the ?[34mlist?[39m command.
  ?[36m-q, --quiet?[39m      

Same problem when setting hyper shell to 'cmd' or 'powershell'
Work fine and collor display correctly when running poetry on cmd or powershell directly.

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

Reproduce the Poetry CLI output in Hyper on Windows 10 with both cmd and PowerShell, then compare it with the same commands run directly in those shells. Trace how Hyper handles the displayed ANSI escape sequences; done means Poetry output shows its intended colors and formatting instead of literal escape characters.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell, typescript
Domain
cli, operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.