Coding style
- Do one less string concatenation.
This commit is contained in:
parent
4feefbfb2a
commit
f9c5399ab9
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue