Merge pull request #22 from Crestwave/master

added support for termux
This commit is contained in:
dylan 2020-09-24 13:47:22 +03:00 committed by GitHub
commit e9fbd754ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

6
shfm
View File

@ -195,7 +195,7 @@ status_line() {
*) printf %s "$ltype" *) printf %s "$ltype"
esac esac
esc SGR esc SGR 0 0
esc DECRC esc DECRC
} }
@ -237,11 +237,11 @@ line_print() {
line_format() { line_format() {
file_escape "$1" file_escape "$1"
esc EL0
[ -d "$1" ] && esc SGR 1 31 [ -d "$1" ] && esc SGR 1 31
printf %s "$safe" printf %s "$safe"
[ -d "$1" ] && printf / [ -d "$1" ] && printf /
esc SGR esc SGR 0 0
esc EL0
printf '\r' printf '\r'
} }