Co-authored-by: Matt Van Horn <455140+mvanhorn@users.noreply.github.com>
This commit is contained in:
co-authored by
Matt Van Horn
parent
47de56c72e
commit
2e53fab61f
@@ -854,6 +854,11 @@ export default function TerminalPane({
|
||||
return
|
||||
}
|
||||
transport.sendInput(shellEscapePath(filePath))
|
||||
// Move focus to the terminal so the user can keep typing where the
|
||||
// dropped path just landed. Without this, focus stays on the file
|
||||
// tree row that originated the drag and subsequent keystrokes do
|
||||
// not reach the pty — #978.
|
||||
pane.terminal.focus()
|
||||
}}
|
||||
/>
|
||||
{terminalError && isActive && (
|
||||
|
||||
Reference in New Issue
Block a user