From 8bb9c9888804cd3a6e921ede49711440a5c88be8 Mon Sep 17 00:00:00 2001
From: mcmlxxix <>
Date: Sun, 2 Sep 2012 16:42:52 +0000
Subject: [PATCH] cater to echicken's every desire..... (a few notable
 exceptions)

---
 exec/load/inputline.js | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/exec/load/inputline.js b/exec/load/inputline.js
index 0911ebdd46..6fd3f33e9a 100644
--- a/exec/load/inputline.js
+++ b/exec/load/inputline.js
@@ -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 == "") 
-- 
GitLab