This commit is contained in:
Kovid Goyal
2022-04-13 15:35:06 +05:30
parent feea6998f8
commit f7114bc1c5

View File

@@ -386,6 +386,7 @@ def launch(
if active:
kw['cwd_from'] = CwdRequest(active, CwdRequestType.last_reported)
elif opts.cwd == 'oldest':
if active:
kw['cwd_from'] = CwdRequest(active, CwdRequestType.last_reported)
else:
kw['cwd'] = opts.cwd