Switch to using less with color instead of clearing
This commit is contained in:
parent
6e254f7fdc
commit
9fc0520580
|
@ -35,8 +35,6 @@ title() {
|
||||||
}
|
}
|
||||||
|
|
||||||
main() {
|
main() {
|
||||||
clear
|
|
||||||
|
|
||||||
thebookofcolors
|
thebookofcolors
|
||||||
newline 2
|
newline 2
|
||||||
|
|
||||||
|
@ -155,5 +153,5 @@ main() {
|
||||||
|
|
||||||
name="$(basename $0)"
|
name="$(basename $0)"
|
||||||
if test "$name" = "thebookofcolors"; then
|
if test "$name" = "thebookofcolors"; then
|
||||||
main
|
main | less -R
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue