Skip to content

Commit f5bd9ab

Browse files
(Fix) Take ansi_colors_only variable as input.
1 parent 1965569 commit f5bd9ab

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pymux/main.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,7 @@ def handle_sigint(*a):
549549
# Clean up socket.
550550
os.remove(self.socket_name)
551551

552-
def run_standalone(self, true_color=False):
552+
def run_standalone(self, true_color=False, ansi_colors_only=False):
553553
"""
554554
Run pymux standalone, rather than using a client/server architecture.
555555
This is mainly useful for debugging.
@@ -558,7 +558,8 @@ def run_standalone(self, true_color=False):
558558
self._start_auto_refresh_thread()
559559
cli = self.create_cli(
560560
connection=None,
561-
output=Vt100_Output.from_pty(sys.stdout, true_color=true_color))
561+
output=Vt100_Output.from_pty(
562+
sys.stdout, true_color=true_color, ansi_colors_only=ansi_colors_only))
562563
cli._is_running = False
563564
cli.run()
564565

0 commit comments

Comments
 (0)