$> micro --version
Version: 2.0.15-dev
Commit hash: 04c57704
Compiled on August 28, 2024
How to reproduce:
- run
micro a.txt
- type
aaa, press Ctrl+S
- press
Ctrl+E, enter save b.txt, press Return
- type
bbb
- Observation: statusline displays
a.txt as the file name
- press
Ctrl+S
- Observation: statusline displays
b.txt as the file name, a.txt contains aaa, b.txt contains aaabbb
What's the problem?
At step 5), the user doesn't expects the file content to be written to file b.txt since it's not displayed in the statusline as the active file. The user might not want to change the content of file b.txt.