Skip to content
Snippets Groups Projects
Commit 4b007664 authored by deuce's avatar deuce
Browse files

Use console.line_counter to defeaut pause instead.

parent 38e98ade
No related branches found
No related tags found
No related merge requests found
......@@ -1367,7 +1367,7 @@ function edit(quote_first)
redraw_screen();
if(quote_first) {
if(quote_mode()) {
console.gotoxy(1,1);
console.line_counter=0;
return;
}
}
......@@ -1648,7 +1648,7 @@ function edit(quote_first)
xpos=line[ypos].text.length;
break;
case '\x11': /* CTRL-Q (XOff) (Quick Abort in SyncEdit) */
console.gotoxy(1,1);
console.line_counter=0;
return;
case '\x12': /* CTRL-R (Quick Redraw in SyncEdit) */
redraw_screen();
......@@ -1667,7 +1667,7 @@ function edit(quote_first)
case '\x15': /* CTRL-U (Quick Quote in SyncEdit) */
if(quote_line.length>0) {
if(quote_mode()) {
console.gotoxy(1,1);
console.line_counter=0;
return;
}
}
......@@ -1752,7 +1752,7 @@ function edit(quote_first)
var s=make_strings(true,true);
f.write(s[0]);
f.close();
console.gotoxy(1,1);
console.line_counter=0;
return;
case '\x1b': /* ESC (This should parse extra ANSI sequences) */
break;
......@@ -1772,7 +1772,7 @@ function edit(quote_first)
try_prev_line();
break;
case '\x1f': /* CTRL-_ Safe quick-abort*/
console.gotoxy(1,1);
console.line_counter=0;
return;
case '\x7f': /* DELETE */
last_xpos=-1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment