mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-03-23 13:11:05 +03:00
terminal works basically. (#12189)
* terminal works basically. todo: - persistent - sessions restore - web - mobile * missed terminal persistent option change * android sdk 34 -> 35 * +#![cfg_attr(lt_1_77, feature(c_str_literals))] * fixing ci * fix ci * fix ci for android * try "Fix Android SDK Platform 35" * fix android 34 * revert flutter_plugin_android_lifecycle to 2.0.17 which used in rustdesk 1.4.0 * refactor, but break something of desktop terminal (new tab showing loading) * fix connecting...
This commit is contained in:
@@ -313,16 +313,10 @@ impl InvokeUiSession for SciterHandler {
|
||||
|
||||
fn on_connected(&self, conn_type: ConnType) {
|
||||
match conn_type {
|
||||
ConnType::RDP => {}
|
||||
ConnType::PORT_FORWARD => {}
|
||||
ConnType::FILE_TRANSFER => {}
|
||||
ConnType::VIEW_CAMERA => {}
|
||||
ConnType::DEFAULT_CONN => {
|
||||
crate::keyboard::client::start_grab_loop();
|
||||
}
|
||||
// Left empty code from compilation.
|
||||
// Please replace the code in the PR.
|
||||
ConnType::VIEW_CAMERA => {}
|
||||
_ => {}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -387,6 +381,11 @@ impl InvokeUiSession for SciterHandler {
|
||||
fn handle_screenshot_resp(&self, _sid: String, msg: String) {
|
||||
self.call("screenshot", &make_args!(msg));
|
||||
}
|
||||
|
||||
fn handle_terminal_response(&self, _response: TerminalResponse) {
|
||||
// Terminal support is not implemented for Sciter UI
|
||||
// This is a stub implementation to satisfy the trait requirements
|
||||
}
|
||||
}
|
||||
|
||||
pub struct SciterSession(Session<SciterHandler>);
|
||||
|
||||
Reference in New Issue
Block a user