inducer / inducer/pudb

default urwid bright-is-bold false

Open
#578 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
3.2k
Forks
245
Avg merge
13m
Merged PRs (30d)
5

Description

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

I've noticed urwid looks strange since I've started using "kitty" terminal. kitty comes with its own custom termaps, and so it's necessary to set `TERM=kitty`. In urwid, rather than using termap, they use a simple "not xterm" heuristic for their "bright is bold" flag. This results in a random half of all syntax becoming bold.

https://github.com/urwid/urwid/blob/master/urwid/raw_display.py#L79

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

Could we call `set_terminal_properties(bright_is_bold=False)` during startup? If you want to get fancy we could determine this boolean via termcap (as urwid should have done).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.