mirror of
https://github.com/juewuy/ShellCrash.git
synced 2026-03-12 00:11:31 +00:00
~修复管理配置文件功能的若干bug
~优化管理配置文件功能列表显示 ~add content_list() for tui
This commit is contained in:
@@ -14,3 +14,11 @@ separator_line() {
|
||||
line_break() {
|
||||
return
|
||||
}
|
||||
|
||||
content_list() {
|
||||
i=1
|
||||
printf '%s\n' "$1" | while IFS= read -r f; do
|
||||
content_line "$i) $f$2"
|
||||
i=$(( i + 1 ))
|
||||
done
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user