Jelajahi Sumber

splash screen new lines

Simon Klee 2 minggu lalu
induk
melakukan
b040f36320
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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
     y += 1
   }
   }
 
 
-  const height = Math.max(1, y + 1)
+  const height = Math.max(1, y)
   const root = new BoxRenderable(ctx.renderContext, {
   const root = new BoxRenderable(ctx.renderContext, {
     id: `run-direct-splash-${kind}-${id++}`,
     id: `run-direct-splash-${kind}-${id++}`,
     position: "absolute",
     position: "absolute",