added support for termux

This commit is contained in:
Crestwave
2020-09-24 16:41:22 +08:00
parent 8ad3756a1c
commit 6849998609
+3 -3
View File
@@ -195,7 +195,7 @@ status_line() {
*) printf %s "$ltype"
esac
esc SGR
esc SGR 0 0
esc DECRC
}
@@ -237,11 +237,11 @@ line_print() {
line_format() {
file_escape "$1"
esc EL0
[ -d "$1" ] && esc SGR 1 31
printf %s "$safe"
[ -d "$1" ] && printf /
esc SGR
esc SGR 0 0
esc EL0
printf '\r'
}