HeyPuter / phoenix

🔥 Puter's pure-javascript shell
https://puter.com/app/terminal
GNU Affero General Public License v3.0
88 stars 15 forks source link

The output of `cat <file_name>` is not suffixed with newline causing the prompt string to be appended to the output of `cat` #6

Closed jelveh closed 4 months ago

jelveh commented 1 year ago
Screenshot 2023-05-16 at 11 34 38 PM
KernelDeimos commented 1 year ago

This is expected when the file has no EOL; bash does the same thing. However, we can do better.

I think this will be part of support for per-command destination-aware output formatting. I haven't settled on the design for this yet but it's on the Trello board.

If the file has no EOL the format I'm imagining is coloured text below reading / No newline at end of file