We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd38bea commit 147f55bCopy full SHA for 147f55b
1 file changed
cmd/server/server.go
@@ -78,7 +78,7 @@ func runServer(ctx context.Context, logger *slog.Logger, argsToPass []string) er
78
}
79
if termHeight < 10 {
80
return xerrors.Errorf("term height must be at least 10")
81
- } else if termHeight > 930 && agentType == AgentTypeCodex {
+ } else if agentType == AgentTypeCodex && termHeight > 930 {
82
logger.Warn(fmt.Sprintf("Term height is set to %d which may cause issues with Codex. Setting it to 930 instead.", termHeight))
83
termHeight = 930 // codex has a bug where the TUI distorts the screen if the height is too large, see: https://github.com/openai/codex/issues/1608
84
0 commit comments