git-learning-game / oh-my-git

An interactive Git learning game!
https://ohmygit.org
Other
2k stars 145 forks source link

Terminal editor saves empty files when closing it with "x" #92

Open blinry opened 3 years ago

blinry commented 3 years ago

To reproduce, open a file with "fake-editor file", type something in, then close the editor with "x". The file will be empty. It shouldn't be! :)