mirror of
https://gitee.com/zhangsken/AndroidIDE.git
synced 2026-10-16 07:49:44 +08:00
Fixed: special keys not read
This commit is contained in:
@@ -305,15 +305,16 @@ public class TerminalActivity extends StudioActivity {
|
||||
|
||||
@Override
|
||||
public boolean readControlKey() {
|
||||
return false;
|
||||
Boolean state = binding.virtualKeyTable.readSpecialButton(SpecialButton.CTRL, true);
|
||||
return state != null && state.booleanValue();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean readAltKey() {
|
||||
return false;
|
||||
Boolean state = binding.virtualKeyTable.readSpecialButton(SpecialButton.ALT, true);
|
||||
return state != null && state.booleanValue();
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public void onEmulatorSet() {
|
||||
setTerminalCursorBlinkingState(true);
|
||||
|
||||
Reference in New Issue
Block a user