Skip to content

Commit d6f1b84

Browse files
committed
fix: terminal resets interactive-for state too aggressively
1 parent 209f8bf commit d6f1b84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: plugins/plugin-codeflare/src/controller/terminal.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ export class TaskTerminal extends React.PureComponent<Props, State> {
180180
guidebook: props.defaultGuidebook,
181181
noninteractive: props.defaultNoninteractive,
182182
}
183-
} else if (props.defaultNoninteractive !== state.noninteractive) {
183+
} else if (props.defaultNoninteractive !== undefined && props.defaultNoninteractive !== state.noninteractive) {
184184
// different interactivity
185185
return {
186186
ifor: false,

0 commit comments

Comments
 (0)