Skip to content

fix: open file with swap error#118

Open
gogongxt wants to merge 1 commit intowillothy:mainfrom
gogongxt:fix-swap-error
Open

fix: open file with swap error#118
gogongxt wants to merge 1 commit intowillothy:mainfrom
gogongxt:fix-swap-error

Conversation

@gogongxt
Copy link
Copy Markdown

Similar to the existing issues:
#116
#109

The core problem is that opening a file that already has a swap file triggers an interactive prompt:

Swap file found!
[O] Read-only, (E)dit anyway, (R)ecover, (Q)uit

However, when opening from the terminal, the interactive prompt cannot be handled.

The current workaround is to open the file without checking the swap file.

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