login-app: Able to change keymap

This commit is contained in:
nemunaire 2023-02-20 18:58:13 +01:00
commit 77acf55271
4 changed files with 50 additions and 1 deletions

View file

@ -6,7 +6,7 @@ import (
func CreateUEFIDialog(app *tview.Application, next func()) {
modal := tview.NewModal().
SetText("Not UEFI boot\nYou should reboot, enter UEFI Setup (F2) and disable Legacy boot").
SetText("This machine does not boot in UEFI mode!\nYou should reboot now, enter UEFI Setup (F2) and disable Legacy boot. Or choose another machine, that boot in UEFI.").
AddButtons([]string{"Reboot", "Ignore"}).
SetDoneFunc(func(buttonIndex int, buttonLabel string) {
if buttonLabel == "Reboot" {