Add possibility to define the background color of entities (black in ASCII, white in Unicode)
This commit is contained in:
@ -3,7 +3,7 @@ class FakePad:
|
||||
In order to run tests, we simulate a fake curses pad that accepts functions
|
||||
but does nothing with them.
|
||||
"""
|
||||
def addstr(self, y: int, x: int, message: str) -> None:
|
||||
def addstr(self, y: int, x: int, message: str, color: int = 0) -> None:
|
||||
pass
|
||||
|
||||
def refresh(self, pminrow: int, pmincol: int, sminrow: int,
|
||||
|
Reference in New Issue
Block a user