From 57989c469a5f0e839f53ae30fb8454479c1c7057 Mon Sep 17 00:00:00 2001 From: serr Date: Wed, 5 Feb 2025 01:24:57 +0300 Subject: [PATCH] =?UTF-8?q?q!=20->=20=D0=B2=D1=8B=D1=85=D0=BE=D0=B4=20?= =?UTF-8?q?=D0=B1=D0=B5=D0=B7=20=D1=81=D0=BE=D1=85=D1=80=D0=B0=D0=BD=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mvc/models.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mvc/models.py b/mvc/models.py index d7a1202..1f7a31b 100644 --- a/mvc/models.py +++ b/mvc/models.py @@ -58,6 +58,8 @@ class VimModel: self.currentCol = 0 case "q": # Выход из программы return ReturnCode.EXIT_CODE + case "q!": + return ReturnCode.EXIT_CODE case "i": # Вход в режим редактирования return ReturnCode.SET_EDIT_MODE case "I": # Переходит в начало строки и начинает ввод текста