From 61e49f19e0e0ee8fd6c9a993f9880f6b26110ea3 Mon Sep 17 00:00:00 2001 From: raj_mathe Date: Thu, 9 Jun 2022 18:16:07 +0200 Subject: [PATCH] =?UTF-8?q?master=20>=20master:=20code=20py=20-=20bessere?= =?UTF-8?q?=20Darstellung=20f=C3=BCr=20moves?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- code/python/src/hirschberg/display.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/python/src/hirschberg/display.py b/code/python/src/hirschberg/display.py index d984540..08f47c3 100644 --- a/code/python/src/hirschberg/display.py +++ b/code/python/src/hirschberg/display.py @@ -56,9 +56,9 @@ def represent_cost_matrix( match verb: case VerboseMode.MOVES: - table[3:(3+m), 3:(3+n)] = '.'; + table[3:(3+m), 3:(3+n)] = '\x1b[2m.\x1b[0m'; for (i, j) in path: - table[3 + i, 3 + j] = '*'; + table[3 + i, 3 + j] = '\x1b[31;1m*\x1b[0m'; case VerboseMode.COSTS | VerboseMode.COSTS_AND_MOVES: table[3:(3+m), 3:(3+n)] = Costs.copy(); if verb == VerboseMode.COSTS_AND_MOVES: