mirror of
https://github.com/onyx-and-iris/q3rcon-cli.git
synced 2026-04-16 14:03:42 +00:00
add spinners for all commands (including interactive mode).
pass send_command(interpret=True) for commands that return long responses. note, it strips the first `"` from cvar responses which causes CVAR_REGEX to fail.
This commit is contained in:
@@ -72,7 +72,7 @@ class OutConsole(Console):
|
||||
_names.append(self._remove_colour_codes(m.group('name')))
|
||||
_ips.append(m.group('ip'))
|
||||
elif m := OutConsole.STATUS_MAP_REGEX.match(line):
|
||||
cprint(f'\nCurrent map: {m.group("mapname")}', fg=self.style)
|
||||
cprint(f'Current map: {m.group("mapname")}', fg=self.style)
|
||||
|
||||
if not _slots:
|
||||
cprint('No players connected.', fg='red')
|
||||
|
||||
Reference in New Issue
Block a user