From 535cde4621dee15172db805a8b0b3415c9d09b49 Mon Sep 17 00:00:00 2001
From: echicken <>
Date: Sun, 10 Jan 2016 14:04:43 +0000
Subject: [PATCH] Frame.putmsg() - unset HIGH and BLINK when \1n (normal) is
 encountered.

---
 exec/load/frame.js | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/exec/load/frame.js b/exec/load/frame.js
index 37ec1f6703..057000ccb8 100644
--- a/exec/load/frame.js
+++ b/exec/load/frame.js
@@ -1074,8 +1074,9 @@ Frame.prototype.putmsg = function(str,attr) {
 			case 'I':	/* Blink */
 				this.__properties__.curr_attr|=BLINK;
 				break;
-			case 'N':	/* Normal (ToDo: Does this do ESC[0?) */
-				this.__properties__.curr_attr=this.attr;
+			case 'N': 	/* Normal */
+				this.__properties__.curr_attr&=~HIGH;
+				this.__properties__.curr_attr&=~BLINK;
 				break;
 			case '-':	/* Normal if High, Blink, or BG */
 				if(this.__properties__.curr_attr & 0xf8)
-- 
GitLab