Fixed the scrolling in whiptail
This commit is contained in:
1 parent
7f23486cb9
commit
3ff81eaf02
2 files changed
+3
-1
No files matched your search
+3
-1
@@ -12,7 +12,7 @@ import (
|
||||
"strings"
|
||||
)
|
||||
|
||||
const version = "V0.1.3"
|
||||
const version = "V0.1.4"
|
||||
|
||||
var (
|
||||
tmpDir string
|
||||
@@ -228,6 +228,7 @@ func showOutput(title string, name string, args ...string) {
|
||||
}
|
||||
|
||||
whiptail(
|
||||
"--scrolltext",
|
||||
"--title", title,
|
||||
"--textbox", outputPath,
|
||||
strconv.Itoa(height),
|
||||
@@ -282,6 +283,7 @@ func showText(title, text string) {
|
||||
}
|
||||
|
||||
whiptail(
|
||||
"--scrolltext",
|
||||
"--title", title,
|
||||
"--textbox", outputPath,
|
||||
strconv.Itoa(height),
|
||||
|
||||
Reference in new issue
Block a user