Quellcode durchsuchen

splash screen new lines

Simon Klee vor 1 Woche
Ursprung
Commit
91a18af727
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      packages/opencode/src/cli/cmd/run/splash.ts

+ 1 - 1
packages/opencode/src/cli/cmd/run/splash.ts

@@ -251,7 +251,7 @@ function build(input: SplashWriterInput, kind: "entry" | "exit", ctx: Scrollback
     y += 1
   }
 
-  const height = Math.max(1, y + 1)
+  const height = Math.max(1, y)
   const root = new BoxRenderable(ctx.renderContext, {
     id: `run-direct-splash-${kind}-${id++}`,
     position: "absolute",