Работа над описанием приложени, запрет закрытия листа через q/esc, правки конфига

This commit is contained in:
XeRo 2026-02-04 17:58:45 +05:00
parent 953575e03f
commit 3084dce4e2
13 changed files with 147 additions and 45 deletions

View file

@ -107,7 +107,7 @@ func (m *Main) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
return types.ShowModalMsg{
Type: types.ModalWarning,
Title: "Закрытие приложения",
Message: "Вы нажали ctrl+c/ctrl+q, вы желаете закрыть приложение?",
Message: "Вы желаете закрыть приложение?",
ModalButtons: []types.ModalButton{
{Text: "Закрыть приложение", Value: true},
{Text: "Не закрывать", Value: false},