feat(terminal): add shift+enter support and force resize on focus

This commit is contained in:
Mohamed Boudra
2026-03-23 00:03:09 +07:00
parent 93f4b84b8b
commit c0e63f76da
3 changed files with 14 additions and 0 deletions
@@ -358,6 +358,7 @@ const TerminalEmulator = forwardRef<TerminalEmulatorHandle, TerminalEmulatorProp
if (focusRequestToken <= 0) {
return;
}
runtimeRef.current?.resize({ force: true });
return focusWithRetries({
focus: () => {
runtimeRef.current?.focus();