Skip to content
Snippets Groups Projects
Commit 7c39d020 authored by deuce's avatar deuce
Browse files

When setting default font, don't send ESC [ 0 ; NaN SP D.

parent 958ab395
No related branches found
No related tags found
No related merge requests found
......@@ -74,8 +74,11 @@ function pickfont()
}
var slot=0;
if(argc>0)
if(argc>0) {
slot=parseInt(argv[0]);
if (isNaN(slot)
slot = 0;
}
write("\x1b[0;"+slot+" D");
}
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