diff --git a/exec/fseditor.js b/exec/fseditor.js index 291ccdbe36cad40f28215c3c6f5e1257b9a44651..598466bd74ae80ace887d31b494059230617cde3 100644 --- a/exec/fseditor.js +++ b/exec/fseditor.js @@ -35,7 +35,8 @@ var tab_width=8; // Message header display format var hdr_fmt = "\1b\1h%-4s\1n\1b: \1h\1c%.60s\1>\r\n"; -var stat_fmt = "\1h\1w\0014 FSEditor v" + REVISION + " - Type \1yCTRL-K\1w for help %s\1>\1n"; +var stat_attr = 0x1f; +var stat_fmt = "\1h\1w\0014 FSEditor v" + REVISION + " - Type \1yCTRL-K\1w for help %s\1>\1n"; var subj,to,from; function Line() @@ -210,7 +211,8 @@ function status_line() console.gotoxy(1,console.screen_rows); printf(stat_fmt,(insert?"Insert Mode ":"Overwrite Mode ")); console.attributes=curattr; - console.write(" Current Colour"); + console.write(" Current Colour "); + console.attributes=stat_attr; console.cleartoeol(); set_cursor(); }