hints kitten: When using the linenumber action with a background action, preserve the working directory
Fixes #3352
This commit is contained in:
parent
30c7ff341f
commit
945cbca387
@ -78,6 +78,9 @@ To update |kitty|, :doc:`follow the instructions <binary>`.
|
||||
- macOS: Disable the native operating system tabs as they are non-functional
|
||||
and can be confusing (:iss:`3325`)
|
||||
|
||||
- hints kitten: When using the linenumber action with a background action,
|
||||
preserve the working directory (:iss:`3352`)
|
||||
|
||||
|
||||
0.19.3 [2020-12-19]
|
||||
-------------------
|
||||
|
||||
@ -698,7 +698,7 @@ def linenum_handle_result(args: List[str], data: Dict[str, Any], target_window_i
|
||||
w.paste_bytes(text + '\r')
|
||||
elif action == 'background':
|
||||
import subprocess
|
||||
subprocess.Popen(cmd)
|
||||
subprocess.Popen(cmd, cwd=data['cwd'])
|
||||
else:
|
||||
getattr(boss, {
|
||||
'window': 'new_window_with_cwd', 'tab': 'new_tab_with_cwd', 'os_window': 'new_os_window_with_cwd'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user