Archived
0

MCSM:WebConsole: поле ввода комманд

This commit is contained in:
2017-06-03 16:09:06 +03:00
parent c208c9f015
commit b148a8c3d0
3 changed files with 22 additions and 4 deletions

View File

@@ -98,7 +98,13 @@ var WebConsole = React.createClass({
return(
ce('div', {id: 'webconsole'},
this.state.lines.map(function(line){ return ce('p', {dangerouslySetInnerHTML: {__html: ansi_up.ansi_to_html(line)}}); }))
ce('div', {className: 'output'},
this.state.lines.map(function(line){
return ce('p', {dangerouslySetInnerHTML: {__html: ansi_up.ansi_to_html(line)}});
})
),
ce('input')
)
)
},
componentWillUnmount: function(){