Skip to content
Snippets Groups Projects
Commit 78ff8251 authored by deuce's avatar deuce
Browse files

Some screen tidying.

parent 9a284fca
No related branches found
No related tags found
No related merge requests found
......@@ -208,7 +208,6 @@ function status_line()
printf(stat_fmt,(insert?"Insert Mode ":"Overwrite Mode "));
console.attributes=curattr;
console.write(" Current Colour");
console.attributes=16;
console.cleartoeol();
set_cursor();
}
......@@ -1301,8 +1300,7 @@ function quote_mode()
console.gotoxy(1,quote_sep_pos+1);
else
console.gotoxy(1,edit_top);
console.cleartoeol();
console.write("\r\nQuote mode keys:");
console.write("Quote mode keys:");
console.cleartoeol();
console.write("\r\n CTRL-B - Move to begining of message CTRL-^ - Move up one line");
console.cleartoeol();
......@@ -1323,8 +1321,6 @@ function quote_mode()
console.write('\r\n');
console.write("Press any key to return to editing..");
console.cleartoeol();
console.write('\r\n');
console.cleartoeol();
console.up();
console.right(37);
console.getkey();
......@@ -1544,8 +1540,7 @@ function edit(quote_first)
case '\x0b': /* CTRL-K */
console.attributes=7;
console.gotoxy(1,edit_top);
console.cleartoeol();
console.write("\r\nEditing keys:");
console.write("Editing keys:");
console.cleartoeol();
console.write("\r\n CTRL-A - Change Colour CTRL-Q - Quick Abort (no save)");
console.cleartoeol();
......@@ -1667,8 +1662,12 @@ function edit(quote_first)
}
break;
case '\x15': /* CTRL-U (Quick Quote in SyncEdit) */
if(quote_line.length>0) {
if(quote_mode())
return;
}
else
console.beep();
break;
case '\x16': /* CTRL-V (Toggle insert mode) */
insert=!insert;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment