Skip to content

Commit 87f359b

Browse files
authored
Set Gray color as "Bright Black" (#1227)
## Description Set Gray color as "Bright Black", judging from [Gentoo's documentation about colors in terminal emulators](https://wiki.gentoo.org/wiki/Terminal_emulator/Colors#Specifying_colors). This has the nice effect of enabling custom theming of the gray color by the terminal application (e.g., Konsole), so that the gray remains readable with different themes.
1 parent edbc7b8 commit 87f359b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

gef.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,7 @@ class Color:
577577
# \033 -> Start an ANSI escape code for displaying colors
578578
colors = {
579579
"normal": "\001\033[0m\002",
580-
"gray": "\001\033[1;38;5;240m\002",
580+
"gray": "\001\033[90m\002",
581581
"light_gray": "\001\033[0;37m\002",
582582
"red": "\001\033[31m\002",
583583
"green": "\001\033[32m\002",

0 commit comments

Comments
 (0)