fix new file mode text

This commit is contained in:
2026-05-30 23:59:28 +08:00
parent aaf7fd829d
commit 308637d874
+1 -1
View File
@@ -835,7 +835,7 @@ do_open_with() {
do_newfile() { do_newfile() {
goto "$(term_rows)" 1 goto "$(term_rows)" 1
printf '%s%s New file name (esc=cancel): %s' "${ERASE_LINE}" "${WHITE}${BOLD}" "${RESET}" printf '%s%s File name: %s' "${ERASE_LINE}" "${WHITE}${BOLD}" "${RESET}"
if read_line && [ -n "$READ_LINE" ]; then if read_line && [ -n "$READ_LINE" ]; then
touch "${CWD}/${READ_LINE}" touch "${CWD}/${READ_LINE}"
load_entries load_entries