mirror of
https://github.com/xibyte/jsketcher
synced 2025-12-24 01:15:25 +01:00
tweak terminal style
This commit is contained in:
parent
d4377945c3
commit
c72b0179f2
2 changed files with 6 additions and 3 deletions
|
|
@ -394,8 +394,11 @@ TCAD.ui.Terminal = function(win, commandProcessor) {
|
|||
var out = win.root.find('.terminal-output');
|
||||
input.val('');
|
||||
out.append($('<div>', {text: '> '+command, class: 'terminal-commandText'}));
|
||||
var result = commandProcessor(command);
|
||||
out.append($('<div>', {text: result, class: 'terminal-commandResult'}));
|
||||
if (command != null && command.trim().length != 0) {
|
||||
var result = commandProcessor(command);
|
||||
out.append($('<div>', {text: result, class: 'terminal-commandResult'}));
|
||||
}
|
||||
out.scrollTop(out.height());
|
||||
}
|
||||
});
|
||||
};
|
||||
|
|
@ -123,10 +123,10 @@
|
|||
<div id="commands" class="win" style="display: none; height: 200px; width: 700px;">
|
||||
<div class="tool-caption" >COMMANDS</div>
|
||||
<div class="content panel" style="padding: 0;">
|
||||
<div class='terminal-output scroll'></div>
|
||||
<div class='terminal-input'>
|
||||
<input type="text" placeholder="(type a command)"/>
|
||||
</div>
|
||||
<div class='terminal-output scroll'></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue