1
0
Fork 0
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:
cTn 2013-07-29 08:14:49 +02:00
parent 8701c2d913
commit 7f3a107178

View file

@ -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) {