From 414156d0a186febe6fba713cce88cdb353b6d16c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20=C3=85dahl?= Date: Tue, 25 Feb 2025 18:43:35 +0800 Subject: [PATCH] gdctl: Fix printing Position Part-of: --- tools/gdctl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/gdctl b/tools/gdctl index 731df53ee..0602f5b27 100755 --- a/tools/gdctl +++ b/tools/gdctl @@ -31,6 +31,9 @@ class Position(NamedTuple): x: int | None y: int | None + def __str__(self): + return f"({self.x}, {self.y})" + class NamedEnum(Enum): def __str__(self):