Skip to content

Commit 23130a4

Browse files
committed
fix: codeflare db has extra newline at top in alt buffer mode
1 parent ef3f95e commit 23130a4

File tree

1 file changed

+1
-1
lines changed
  • plugins/plugin-codeflare-dashboard/src/controller/dashboard

1 file changed

+1
-1
lines changed

plugins/plugin-codeflare-dashboard/src/controller/dashboard/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export type Options = Arguments["parsedOptions"] & {
3737

3838
/** Behave like top, where the screen is cleared just for this process */
3939
function enterAltBufferMode() {
40-
console.log("\x1b[?1049h")
40+
process.stdout.write("\x1b[?1049h")
4141
}
4242

4343
export function usage(cmd: string, extraKinds: string[] = []) {

0 commit comments

Comments
 (0)