You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Chat view should not resize the underlying terminal #361
Opening a pane in the mobile chat view changes the underlying terminal dimensions to the phone's viewport. The same pane then appears narrower in a desktop Herdr client.
This can make sense in terminal view, where the terminal needs to fit the screen. In chat view, though, the conversation has its own layout. Resizing the terminal provides no benefit and disrupts anyone switching between chat and the desktop terminal.
Proposal
Chat view should leave the underlying terminal size unchanged. Opening a pane, switching to chat, or opening the mobile keyboard should not resize the shared terminal while in chat view. Sending messages should still work normally.
The current implementation appears to attach the terminal component with the browser's dimensions even when the chat view covers it. The server then applies those dimensions to the shared pane. Keeping chat input available without taking ownership of terminal sizing would avoid this.
A separate terminal-view option to keep the current size, or an explicit “Fit to this device” action, would also be useful. But the main request is simpler: chat view should not change terminal dimensions at all.
Where
Chat and prompt cards; Terminal
Workarounds and alternatives
Observe mode preserves terminal sizing, but also disables input, so it is not a substitute for an interactive chat view.
PaneTerminal은 채팅 보기에서도 화면 뒤에 붙어 있어, 처음 연결할 때(attach)와 화면 크기가 바뀔 때 브라우저 기준 cols/rows를 서버로 보냅니다. 서버는 그 크기로 공유 터미널을 맞추기 때문에, 폰에서 채팅 보기만 열어도 데스크톱 쪽 터미널이 좁아집니다.
채팅 보기에서는 공유 터미널 크기를 바꾸지 않고, 터미널 보기로 돌아올 때 그 기기 크기에 맞추는 방향으로 PR을 준비하겠습니다.
Activity
WOULDU-pres commentedon Oct 3, 2026
안녕하세요. main(
bb7ef50)에서 원인을 확인했습니다.PaneTerminal은 채팅 보기에서도 화면 뒤에 붙어 있어, 처음 연결할 때(attach)와 화면 크기가 바뀔 때 브라우저 기준cols/rows를 서버로 보냅니다. 서버는 그 크기로 공유 터미널을 맞추기 때문에, 폰에서 채팅 보기만 열어도 데스크톱 쪽 터미널이 좁아집니다.채팅 보기에서는 공유 터미널 크기를 바꾸지 않고, 터미널 보기로 돌아올 때 그 기기 크기에 맞추는 방향으로 PR을 준비하겠습니다.
fix(chat): the chat lens leaves the shared terminal's size alone (dev…