Skip to content

Commit

Permalink
fix: codeflare db has extra newline at top in alt buffer mode
Browse files Browse the repository at this point in the history
  • Loading branch information
starpit committed Apr 1, 2023
1 parent ef3f95e commit 23130a4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export type Options = Arguments["parsedOptions"] & {

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

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

0 comments on commit 23130a4

Please sign in to comment.