edit.js: text nav in all four directions, home/end behaviour on shorter-than-screen-width line fixed, pageup/pagedown nav impl; default text colour is tad brighter

This commit is contained in:
minjaesong
2021-04-17 11:36:10 +09:00
parent 7a6b2573ca
commit 9465482fe2
5 changed files with 40 additions and 21 deletions

View File

@@ -32,9 +32,10 @@ function print_prompt_text() {
con.color_pair(253,255);
con.addch(16);con.curs_right();
con.addch(32);con.curs_right();
con.color_pair(239,255);
con.color_pair(253,255);
}
else {
con.color_pair(253,255);
if (errorlevel != 0)
print(CURRENT_DRIVE + ":\\" + shell_pwd.join("\\") + " [" + errorlevel + "]" + PROMPT_TEXT);
else