mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-25 01:05:27 +03:00
workaround for CLI terminal emulator UI
This commit is contained in:
parent
8701c2d913
commit
7f3a107178
1 changed files with 5 additions and 0 deletions
|
@ -31,6 +31,11 @@ function tab_initialize_cli() {
|
|||
|
||||
// give input element user focus
|
||||
$('.tab-cli input').focus();
|
||||
|
||||
// if user clicks inside the console window, input element gets re-focused
|
||||
$('.tab-cli .window').click(function() {
|
||||
$('.tab-cli input').focus();
|
||||
});
|
||||
}
|
||||
|
||||
function leave_CLI(callback) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue