diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 1557f895..a2684fb2 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -22,10 +22,10 @@
-
-
+
+
@@ -487,13 +487,6 @@
1605881914521
-
- 1608070231599
-
-
-
- 1608070231599
-
1608122289003
@@ -830,7 +823,14 @@
1614896795653
-
+
+ 1614956114719
+
+
+
+ 1614956114719
+
+
@@ -846,7 +846,6 @@
-
@@ -871,7 +870,8 @@
-
+
+
diff --git a/src/cpl/console/console.py b/src/cpl/console/console.py
index 5fc04b09..f7de7e63 100644
--- a/src/cpl/console/console.py
+++ b/src/cpl/console/console.py
@@ -75,11 +75,10 @@ class Console:
args = []
colored_args = []
-
if x is not None and y is not None:
- args.append(f'\033[{x};{y}H')
+ args.append(f'\033[{y};{x}H')
elif cls._x is not None and cls._y is not None:
- args.append(f'\033[{cls._x};{cls._y}H')
+ args.append(f'\033[{cls._y};{cls._x}H')
colored_args.append(string)
if cls._foreground_color != ForegroundColor.default and cls._background_color == BackgroundColor.default:
@@ -96,7 +95,6 @@ class Console:
"""
Useful public methods
"""
-
@classmethod
def banner(cls, string: str):
if cls._disabled:
diff --git a/src/cpl/console/spinner_thread.py b/src/cpl/console/spinner_thread.py
index bcca170a..ea810f33 100644
--- a/src/cpl/console/spinner_thread.py
+++ b/src/cpl/console/spinner_thread.py
@@ -17,11 +17,13 @@ class SpinnerThread(threading.Thread):
yield cursor
def run(self) -> None:
+ self._console.write('\t')
spinner = self._spinner()
while self._is_spinning:
self._console.write(next(spinner))
time.sleep(0.1)
self._console.write('\b')
+
self._console.flush()
self._console.write(' ')