mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-02-23 02:51:26 +01:00
Merge branch 'codeedit-focus'
This commit is contained in:
commit
975512d4eb
@ -203,6 +203,9 @@ class SourceCodeRenderer extends React.Component<
|
||||
this.setState({ message: null });
|
||||
}, 3000);
|
||||
});
|
||||
if (this.props.shouldFocus) {
|
||||
GlobalCommandRunner.screenSetFocus("input");
|
||||
}
|
||||
};
|
||||
|
||||
handleEditorChange = (code) => {
|
||||
|
Loading…
Reference in New Issue
Block a user