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"
|
"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),
|
||||||
|
|||||||
Binary file not shown.
Reference in new issue
Block a user