Set focus on xtem.js to terminal
This allows a user to use PgUp/PgDn without first clicking the terminal. Change-Id: I315f9c8e264a291e4b0e38ecbd1a15dd8df2377c Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
5dd031a902
commit
182a831abe
|
@ -106,6 +106,7 @@ class StreamPage extends React.Component {
|
|||
})
|
||||
|
||||
term.open(this.terminal)
|
||||
term.focus()
|
||||
|
||||
this.ws = new Sockette(getStreamUrl(this.props.tenant.apiPrefix), {
|
||||
timeout: 5e3,
|
||||
|
|
Loading…
Reference in New Issue