Skip to content
Snippets Groups Projects
Commit 616fd5e8 authored by deuce's avatar deuce
Browse files

Allow CTRL-A codes to be lower-case.

Only pause on clear screen if something has been written to the screen.
parent 18924b62
No related branches found
No related tags found
No related merge requests found
......@@ -140,7 +140,7 @@ var dk = {
}
},
ctrla_attr:function(code, attr) {
switch(code) {
switch(code.toUpperCase()) {
case 'K':
attr.fg = Attribute.BLACK;
break;
......@@ -305,7 +305,7 @@ var dk = {
* sets the current attribute to 7
*/
clear:function() {
if (this.remote_screen !== undefined && this.auto_pause && (this.remote_screen.new_lines || this.remote_screen.touched)) {
if (this.remote_screen !== undefined && this.auto_pause && this.remote_screen.touched) {
this.auto_pause = false;
this.pause();
this.auto_pause = true;
......
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