From 7af5caad8983377b3ab5caeca224687755170c79 Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Mon, 23 Mar 2026 13:17:45 +0000 Subject: [PATCH] fix spinner suffix --- src/q3rcon_cli/commands/gametype.py | 2 +- src/q3rcon_cli/commands/map.py | 2 +- src/q3rcon_cli/commands/maprestart.py | 2 +- src/q3rcon_cli/commands/maprotate.py | 2 +- src/q3rcon_cli/commands/status.py | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/q3rcon_cli/commands/gametype.py b/src/q3rcon_cli/commands/gametype.py index d2b845b..5bd163a 100644 --- a/src/q3rcon_cli/commands/gametype.py +++ b/src/q3rcon_cli/commands/gametype.py @@ -34,7 +34,7 @@ class Gametype(Command): await client.send_command(f'g_gametype {self.new_gametype}') if self.force: - async with Spinner('Forcing gametype change...'): + async with Spinner('Forcing gametype change', suffix='...'): client.fragment_read_timeout = 1 await client.send_command('map_restart') diff --git a/src/q3rcon_cli/commands/map.py b/src/q3rcon_cli/commands/map.py index 2fe9ea3..63e0e5a 100644 --- a/src/q3rcon_cli/commands/map.py +++ b/src/q3rcon_cli/commands/map.py @@ -24,7 +24,7 @@ class Map(Command): console.out.print_cvar(response) return - async with Spinner('Changing map...'): + async with Spinner('Changing map', suffix='...'): async with Client( self.host, self.port, self.password, fragment_read_timeout=1 ) as client: diff --git a/src/q3rcon_cli/commands/maprestart.py b/src/q3rcon_cli/commands/maprestart.py index 790bd09..9694616 100644 --- a/src/q3rcon_cli/commands/maprestart.py +++ b/src/q3rcon_cli/commands/maprestart.py @@ -14,7 +14,7 @@ class Maprestart(Command): @override async def run(self): - async with Spinner('Restarting map...'): + async with Spinner('Restarting map', suffix='...'): async with Client( self.host, self.port, self.password, fragment_read_timeout=1 ) as client: diff --git a/src/q3rcon_cli/commands/maprotate.py b/src/q3rcon_cli/commands/maprotate.py index 2aaa3dc..8b5b167 100644 --- a/src/q3rcon_cli/commands/maprotate.py +++ b/src/q3rcon_cli/commands/maprotate.py @@ -14,7 +14,7 @@ class Maprotate(Command): @override async def run(self): - async with Spinner('Rotating map...'): + async with Spinner('Rotating map', suffix='...'): async with Client( self.host, self.port, self.password, fragment_read_timeout=1 ) as client: diff --git a/src/q3rcon_cli/commands/status.py b/src/q3rcon_cli/commands/status.py index 157eea0..0fb7791 100644 --- a/src/q3rcon_cli/commands/status.py +++ b/src/q3rcon_cli/commands/status.py @@ -14,7 +14,7 @@ class Status(Command): @override async def run(self): - async with Spinner('Fetching status...'): + async with Spinner('Fetching status', suffix='...'): async with Client( self.host, self.port, self.password, fragment_read_timeout=0.5 ) as client: