mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-28 17:51:21 +00:00
Don't resize terminal if we don't receive a resize control (e.g. onAttach)
- Fix text selection in terminal (was our force focus stuff, introduced if you clicked on the black border that was not actually the terminal
This commit is contained in:
@@ -253,7 +253,7 @@ export function doControlRequest(nodeId, control, dispatch) {
|
||||
}
|
||||
|
||||
|
||||
export function doResizePipe(pipeId, control, cols, rows) {
|
||||
export function doResizeTty(pipeId, control, cols, rows) {
|
||||
const url = `api/control/${encodeURIComponent(control.probeId)}/`
|
||||
+ `${encodeURIComponent(control.nodeId)}/${control.id}`;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user