Skip to content

Commit

Permalink
Update lib/reline/face.rb
Browse files Browse the repository at this point in the history
Co-authored-by: ima1zumi <[email protected]>
  • Loading branch information
hasumikin and ima1zumi authored Nov 6, 2023
1 parent a33109f commit 544f3d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/reline/face.rb
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def sgr_rgb(key, value)
return nil unless rgb_expression?(value)
case key
when :foreground
"38;2;"
"38;2;"
when :background
"48;2;"
end + value[1, 6].scan(/../).map(&:hex).join(";")
Expand Down

0 comments on commit 544f3d1

Please sign in to comment.