Open Moshyfawn opened 2 weeks ago
Does that file have a trailing newline? If not, this is expected behavior of cat.
/tmp () $ echo poop > poop
/tmp () $ echo -n poop > poop2
/tmp () $ xxd -p poop
706f6f700a
/tmp () $ xxd -p poop2
706f6f70
/tmp () $
If you file ends with an 0a there's a newline.
Bump.
Check for existing issues
Describe the bug / provide steps to reproduce it
During SSH connections to remote machines, file contents are being displayed inline with the prompt rather than having the prompt appear on its own new line as expected.
I have a starship prompt if that makes any difference, but I don't the same issue when using the terminal on my local machine.
Environment
Zed: v0.162.0 (Zed Nightly 55cd99cdc4d22bf82c0a59d8fa76f4ab9b85370c) OS: macOS 14.6.1 Memory: 18 GiB Architecture: aarch64
If applicable, add mockups / screenshots to help explain present your vision of the feature
If applicable, attach your Zed.log file to this issue.
Zed.log
``` ```