Fixed the scrolling in whiptail

This commit is contained in:
phil committed 2026-10-29 22:20:33 +00:00
1 parent 7f23486cb9
commit 3ff81eaf02
2 files changed
+3 -1

No files matched your search

+3 -1
View File
@@ -12,7 +12,7 @@ import (
"strings" "strings"
) )
const version = "V0.1.3" const version = "V0.1.4"
var ( var (
tmpDir string tmpDir string
@@ -228,6 +228,7 @@ func showOutput(title string, name string, args ...string) {
} }
whiptail( whiptail(
"--scrolltext",
"--title", title, "--title", title,
"--textbox", outputPath, "--textbox", outputPath,
strconv.Itoa(height), strconv.Itoa(height),
@@ -282,6 +283,7 @@ func showText(title, text string) {
} }
whiptail( whiptail(
"--scrolltext",
"--title", title, "--title", title,
"--textbox", outputPath, "--textbox", outputPath,
strconv.Itoa(height), strconv.Itoa(height),
BIN
View File
Binary file not shown.