-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
$TERM
supports 256 colors, but don't have colors
#333
Comments
So this only happens with OhMyREPL loaded? Could maybe be related to JuliaLang/julia#50797? |
Yeah, that seems likely to be the cause. julia> for i = 0:255; printstyled("$i\t";color=i); i%16==15&&println(); end No color, not even on Julia, when starting with |
Hmm julia> Base.find_terminfo_file("foot")
julia> Base.find_terminfo_file("xterm")
julia> because dir = "/home/chriselrod/.terminfo" because terminfo_dirs = if haskey(ENV, "TERMINFO")
[ENV["TERMINFO"]]
elseif isdir(joinpath(homedir(), ".terminfo"))
[joinpath(homedir(), ".terminfo")]
elseif haskey(ENV, "TERMINFO_DIRS")
split(ENV["TERMINFO_DIRS"], ':')
elseif Sys.isunix()
["/usr/share/terminfo"]
else
String[]
end so |
If I start Julia with
I do get colors, but not when using my default
$TERM
value (foot
, for reference).My
terminfo
does indeed say that I havecolors#0x100
(0x100==256
), just like it does forxterm-256color
.The text was updated successfully, but these errors were encountered: