Skip to content

Commit

Permalink
👍 Avoid unwilling newline on verbose output
Browse files Browse the repository at this point in the history
  • Loading branch information
lambdalisue committed May 13, 2024
1 parent 321e907 commit 462ea23
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,8 @@ function buildArgs(conf: Config, mode: RunMode): [string, string[]] {
"-V1", // Verbose level 1 (Echo messages to stderr)
"-c",
"visual", // Go to Normal mode
"-c",
"set columns=9999", // Avoid unwilling output newline
],
];
case "nvim":
Expand All @@ -129,6 +131,8 @@ function buildArgs(conf: Config, mode: RunMode): [string, string[]] {
"--headless",
"-n", // Disable swap file
"-V1", // Verbose level 1 (Echo messages to stderr)
"-c",
"set columns=9999", // Avoid unwilling output newline
],
];
default:
Expand Down

0 comments on commit 462ea23

Please sign in to comment.