mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-04 06:36:24 +00:00
...
This commit is contained in:
parent
d55d8ac091
commit
8187ec2cef
1 changed files with 1 additions and 1 deletions
2
kitty/rgb.py
generated
2
kitty/rgb.py
generated
|
|
@ -75,7 +75,7 @@ def color_from_int(x: int) -> Color:
|
|||
|
||||
|
||||
def color_as_int(x: Color) -> int:
|
||||
return x.red << 16 | x.green << 8 | x.blue
|
||||
return int(x)
|
||||
|
||||
|
||||
def color_as_sharp(x: Color) -> str:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue