fix spinner suffix

This commit is contained in:
onyx-and-iris 2026-03-23 13:17:45 +00:00
parent ac5b117e2c
commit 7af5caad89
5 changed files with 5 additions and 5 deletions

View File

@ -34,7 +34,7 @@ class Gametype(Command):
await client.send_command(f'g_gametype {self.new_gametype}') await client.send_command(f'g_gametype {self.new_gametype}')
if self.force: if self.force:
async with Spinner('Forcing gametype change...'): async with Spinner('Forcing gametype change', suffix='...'):
client.fragment_read_timeout = 1 client.fragment_read_timeout = 1
await client.send_command('map_restart') await client.send_command('map_restart')

View File

@ -24,7 +24,7 @@ class Map(Command):
console.out.print_cvar(response) console.out.print_cvar(response)
return return
async with Spinner('Changing map...'): async with Spinner('Changing map', suffix='...'):
async with Client( async with Client(
self.host, self.port, self.password, fragment_read_timeout=1 self.host, self.port, self.password, fragment_read_timeout=1
) as client: ) as client:

View File

@ -14,7 +14,7 @@ class Maprestart(Command):
@override @override
async def run(self): async def run(self):
async with Spinner('Restarting map...'): async with Spinner('Restarting map', suffix='...'):
async with Client( async with Client(
self.host, self.port, self.password, fragment_read_timeout=1 self.host, self.port, self.password, fragment_read_timeout=1
) as client: ) as client:

View File

@ -14,7 +14,7 @@ class Maprotate(Command):
@override @override
async def run(self): async def run(self):
async with Spinner('Rotating map...'): async with Spinner('Rotating map', suffix='...'):
async with Client( async with Client(
self.host, self.port, self.password, fragment_read_timeout=1 self.host, self.port, self.password, fragment_read_timeout=1
) as client: ) as client:

View File

@ -14,7 +14,7 @@ class Status(Command):
@override @override
async def run(self): async def run(self):
async with Spinner('Fetching status...'): async with Spinner('Fetching status', suffix='...'):
async with Client( async with Client(
self.host, self.port, self.password, fragment_read_timeout=0.5 self.host, self.port, self.password, fragment_read_timeout=0.5
) as client: ) as client: