focus after command

This commit is contained in:
Radek Davidek 2026-01-15 12:31:20 +01:00
parent c2a5226c0c
commit b3b64f36fa

View File

@ -1256,6 +1256,7 @@ public class MainWindow extends JFrame {
private void executeCommand(String command) {
if (command == null || command.trim().isEmpty()) {
activePanel.getFileTable().requestFocusInWindow();
return;
}
@ -1310,6 +1311,7 @@ public class MainWindow extends JFrame {
pb.directory(currentDir);
pb.start();
commandLine.setText(""); // Clear after execution
activePanel.getFileTable().requestFocusInWindow();
}
} catch (Exception e) {