fix: tab key not working

This commit is contained in:
hstyi
2025-01-22 20:57:38 +08:00
committed by hstyi
parent 0345848418
commit 56ba107c87

View File

@@ -52,7 +52,7 @@ class TerminalPanelKeyAdapter(
return return
} }
if (Character.isISOControl(e.keyChar) && isCtrlPressedOnly(e)) { if (Character.isISOControl(e.keyChar)) {
terminal.getSelectionModel().clearSelection() terminal.getSelectionModel().clearSelection()
// 如果不为空表示已经发送过了,所以这里为空的时候再发送 // 如果不为空表示已经发送过了,所以这里为空的时候再发送
if (encode.isEmpty()) { if (encode.isEmpty()) {