keybase / keybase/keybase-issues

Keybase commandline client ignores TERM

Open
#2,828 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
899
Forks
40
PR merge metrics
No merged PRs in 30d

Description

It seems as though he keybase commandline client hard-codes colour codes instead of using terminfo or curses to achieve coloured output.

For example, trying to inhibit colours using the following fails:

```
TERM=dumb keybase id loke
```

This issue causes garbage output on terminals which does not support vt102-style codes.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the keybase id command and reproduce the issue using TERM=dumb. Trace where its coloured output is generated and determine how terminal capabilities are checked; done means terminals without VT102-style support no longer receive garbage colour codes.

Written by the indexing model from the issue text.

Assessment

Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.