|
|
|
@ -95,7 +95,7 @@ export const RemixUiTerminal = (props: RemixUiTerminalProps) => { |
|
|
|
|
|
|
|
|
|
useEffect(() => { |
|
|
|
|
event.trigger('resize', [terminalPosition]) |
|
|
|
|
} , [terminalPosition]) |
|
|
|
|
}, [terminalPosition]) |
|
|
|
|
|
|
|
|
|
const scrollToBottom = () => { |
|
|
|
|
messagesEndRef.current.scrollIntoView({ behavior: 'smooth' }) |
|
|
|
@ -217,9 +217,6 @@ export const RemixUiTerminal = (props: RemixUiTerminalProps) => { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const focusinput = () => { |
|
|
|
|
inputEl.current.focus() |
|
|
|
|
} |
|
|
|
|