From 983ef65bef500a6aad09a716365747c8525879df Mon Sep 17 00:00:00 2001 From: oSTEVEo Date: Sun, 24 May 2026 00:45:43 +0300 Subject: [PATCH] =?UTF-8?q?=D0=97=D0=B0=D0=BA=D0=BE=D0=BD=D1=87=D0=B5?= =?UTF-8?q?=D0=BD=20=D1=8D=D1=82=D0=B0=D0=BF=205.=20=D0=9F=D0=B0=D1=82?= =?UTF-8?q?=D1=82=D0=B5=D1=80=D0=BD=20Command=20=D0=B1=D1=83=D0=B4=D0=B5?= =?UTF-8?q?=D1=82=20=D1=80=D0=B5=D0=B0=D0=BB=D0=B8=D0=B7=D0=BE=D0=B2=D0=B0?= =?UTF-8?q?=D0=BD=20=D0=BF=D0=BE=D0=B7=D0=B6=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- MusinAA/task2/consoleView.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MusinAA/task2/consoleView.py b/MusinAA/task2/consoleView.py index 50b1a4a..6192d6e 100644 --- a/MusinAA/task2/consoleView.py +++ b/MusinAA/task2/consoleView.py @@ -15,7 +15,7 @@ SBROS = "\033[0m" WALL = "#" EXIT = "E" START = "S" -PATH_SYMBOL = " " +PATH_SYMBOL = "+" SPACE_SYMBOL = " " # Я убрал аргументы из render(), чтобы не передавать их при каждом запуске. @@ -44,7 +44,7 @@ class ConsoleView(Observer): # Градиент percent = self.path.array.index(cell) / len(self.path.array) n = self._ANSICalculator(*self._getGradient(percent)) - return self._fmt_str(n, n, PATH_SYMBOL) + return self._fmt_str(n, 10, PATH_SYMBOL) return SPACE_SYMBOL def _fmt_str(self, bg:int, fg:int, symbol:str) -> str: