Skip to content

Conversation

noborus
Copy link
Owner

@noborus noborus commented May 31, 2025

When executing edit in plain mode, escape sequences are stripped before passing to the editor.

noborus added 3 commits June 1, 2025 08:01
When executing edit in plain mode, escape sequences are stripped
before passing to the editor.
- Implemented logic to distinguish and set appropriate
  stdin (os.Stdin or /dev/tty) when launching the editor
- Ensures correct behavior whether standard input is a terminal or a pipe
- Changed behavior to create and use a temporary file when editing in PlainMode
- Ensures consistent editing experience for non-seekable and plain documents
- Stopped checking the VISUAL environment variable; now only EDITOR is used
@noborus noborus merged commit 0e5d325 into master Jun 3, 2025
9 checks passed
@noborus noborus deleted the strip-edit branch June 12, 2025 23:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant