I use Sublime Text with EDITOR=“subl -w” for years now and with 4121 it stopped working as expected. When I close the file after editing, the focus goes back to the terminal and Sublime Text is left with an empty file instead of closing. When I switch back to Sublime Text and close the empty file, the window also closes. I have close_windows_when_empty set to true.
ST4 4121: window not closing when closing file from EDITOR
I just found https://github.com/sublimehq/sublime_text/issues/4808 and https://github.com/sublimehq/sublime_text/issues/4958 which seem to describe the same issue.
close_windows_when_empty
stopped working when set to true
in user settings (overriding) in version 4121.
This is about Fixed window unexpectedly closing when project has no added folders and "close_windows_when_empty" is enabled
.
Same here, but it’s not restricted to opening from EDITOR! Dragging a text file on the ST dock icon and closing via tab close or even just opening a new window, enter some text and remove the text again yields the same result: All tabs are gone (event the “untitled” one in the last scenario) but the window stays open.
Do we know when build 4122 will come to Mac? My updates are not picking it up.
All builds reach all platforms immediately. You’re probably on the stable channel, 4122 is a development build.