diff --git a/src/Console.js b/src/Console.js index e7ec68f..5e62810 100644 --- a/src/Console.js +++ b/src/Console.js @@ -42,6 +42,7 @@ export class Console extends React.Component { /** @type { Terminal } */ const terminal = term_ref.terminal; + terminal.focus(); window.onresize = (ev) => { const t_width = this.terminal_el.clientWidth;