mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-22 01:16:18 +04:00
636c91c76b
This resolves some confusing behavior where a scratch document created by piping into hx is discarded when navigating away from that document. We discard any scratch documents that are not modified and the original `Editor::new_file_from_stdin` would create unmodified documents. We refactor this function to create an empty document first and then to apply the text from stdin as a change. |
||
---|---|---|
.. | ||
src | ||
tests/encoding | ||
Cargo.toml |