 		mForegroundTextColor		= nil
 		mBackgroundTextColor		= nil
 		mFont				= CNFont.systemFont(ofSize: CNFont.systemFontSize)
-		mStringAttribute		= CNStringAttribute(width: 80, height: 25)
+		mTerminalInfo			= CNTerminalInfo(width: 80, height: 25)
 		super.init(coder: coder)
 	}
 


				storage.beginEditing()
				for code in codes {
					mStringAttribute.foregroundColor = foregroundTextColor
					mStringAttribute.backgroundColor = backgroundTextColor
					let base = storage.string.index(storage.string.startIndex, offsetBy: verticalOffset())
					if let newidx = storage.execute(base:			base,
									index:			curidx,
									font:			mFont,
									attribute: 		&mStringAttribute,
									escapeCode: code) {
						curidx = newidx
					} else {


	public var currentColumnNumbers: Int {
		get {
			return mTerminalInfo.width
		}
		set(newnum){
			if let num = self.adjustColumnNumbers(number: newnum) {
				if mTerminalInfo.width != num {
					mTerminalInfo.width = num
					notify(viewControlEvent: .updateWindowSize)
				}
			}
