basilk icon indicating copy to clipboard operation
basilk copied to clipboard

Print trailing newline after version

Open maximiliankolb opened this issue 4 months ago • 0 comments

Without the trailing newline, the shell prompt ends up on the same line as the version.

Error: user@localhost:~# basilk --version 0.2.0user@localhost:~#

Expected output: user@localhost:~# basilk --version 0.2.0 user@localhost:~#

See https://doc.rust-lang.org/std/macro.print.html#

test

$ cargo build --release
   ...
   Compiling basilk v0.2.0 (/home/user/basilk)
    Finished `release` profile [optimized] target(s) in 31.93s

$ ./target/release/basilk --version
0.2.0

maximiliankolb avatar Oct 06 '24 19:10 maximiliankolb