Description
The format command output does not end with a newline character, causing the shell prompt to appear on the same line as the output.
Reproduction
echo "SELECT * FROM users" | gosqlx format -
# Output: "SELECT * FROM users"% (prompt on same line)
Expected
Output should end with \n so the shell prompt appears on the next line, consistent with standard Unix tool behavior.
Description
The
formatcommand output does not end with a newline character, causing the shell prompt to appear on the same line as the output.Reproduction
Expected
Output should end with
\nso the shell prompt appears on the next line, consistent with standard Unix tool behavior.