diff --git a/exec/load/frame.js b/exec/load/frame.js
index 037513f581ba3d4e0a80fe39d924bb910e113660..c1b15aff9420e2d1dd47ac99a8b2b03b4b851c50 100644
--- a/exec/load/frame.js
+++ b/exec/load/frame.js
@@ -877,7 +877,7 @@ function Frame(x,y,width,height,attr,parent) {
 			position.cursor.y += 1;
 		else {}
 	}
-	this.write = function(str) {
+	this.write = function(str,attr) {
 		if(str == undefined)
 			return;
 		if(settings.word_wrap)