neo-neo-bblessed
Version:
A fork of neo-blessed (which is a fork of blessed) with bug fixes and maintenance.
3 lines (2 loc) • 468 B
JavaScript
const n=require("./node"),i=require("./box");function t(e){if(!(this instanceof n))return new t(e);e=e||{};const r=e.orientation||"vertical";delete e.orientation,r==="vertical"?e.width=1:e.height=1,i.call(this,e),this.ch=!e.type||e.type==="line"?r==="horizontal"?"\u2500":"\u2502":e.ch||" ",this.border={type:"bg",__proto__:this},this.style.border=this.style}t.prototype.__proto__=i.prototype,t.prototype.type="line",module.exports=t;
//# sourceMappingURL=line.js.map