Commit 49c12b2c authored by Deucе's avatar Deucе 👌🏾
Browse files

Set the local console title to the script name

Much better than the default "SyncConsole".
parent f3db26c8
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
require('graphic.js', 'Graphic'); require('graphic.js', 'Graphic');
if (js.global.conio !== undefined && dk.console.local) { if (js.global.conio !== undefined && dk.console.local) {
conio.init(); conio.init();
conio.settitle(js.exec_file);
conio.clrscr(); conio.clrscr();
conio.setcursortype(2); conio.setcursortype(2);
dk.console.input_queue_callback.push(function() { dk.console.input_queue_callback.push(function() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment