Skip to content
Snippets Groups Projects
Commit 8bb9c988 authored by mcmlxxix's avatar mcmlxxix
Browse files

cater to echicken's every desire..... (a few notable exceptions)

parent 59e7bcf7
No related branches found
No related tags found
No related merge requests found
......@@ -36,6 +36,9 @@ function InputLine(frame,text) {
if(num > 0 && num < 10000)
settings.timeout = Number(num);
});
this.__defineGetter__("buffer",function() {
return properties.buffer;
});
/* public properties */
this.colors = {
......@@ -44,6 +47,9 @@ function InputLine(frame,text) {
};
/* public methods */
this.clear = function() {
reset();
}
this.getkey = function(use_hotkeys) {
var key=console.inkey(K_NOCRLF|K_NOSPIN|K_NOECHO,settings.timeout);
if(key == "")
......
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