Skip to content

Preserve EOLs #16148

@Thomas-Shephard

Description

@Thomas-Shephard

What would you like to be added?

Preserve EOLs when editing files
When new files are created use the OS EOL

Why is this needed?

Currently when modifying files Gemini CLI seems to modify the line endings to use LF on windows instead of CRLF. Additionally, new files being created use LF always instead of the system OS like CRLF on Windows which causes problems with Git/other VCS tools and is not what a user would expect.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/coreIssues related to User Interface, OS Support, Core Functionality

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions