Coding style

- Do one less string concatenation.
This commit is contained in:
Andrew Hamilton 2022-01-19 00:33:07 +10:00
parent 4feefbfb2a
commit f9c5399ab9

View file

@ -38,7 +38,7 @@ globals().update({f"CTRL_{letter}": chr(index + 1)
def move(x, y):
return ESC + f"[{y + 1:d};{x + 1:d}H"
return f"{ESC}[{y + 1:d};{x + 1:d}H"
@contextlib.contextmanager