diff options
| author | Jeff Carr <[email protected]> | 2025-10-30 19:15:50 -0500 | 
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-30 19:15:50 -0500 | 
| commit | 7048a8df551807ed72ff2d77baec17a9b65112ea (patch) | |
| tree | 8e0f45e233c75517003e58ff66f5e51de19cfaae | |
| parent | 0bcf305d121407f3756d2dd5d39220a0dec187b4 (diff) | |
| -rw-r--r-- | doInteract.go | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/doInteract.go b/doInteract.go index f5b7cea..82de3d1 100644 --- a/doInteract.go +++ b/doInteract.go @@ -66,7 +66,8 @@ func doEditorOnce() (string, error) {  	}  	// Run the editor -	cmd := exec.Command("bash", "-i", "-c", editor+" "+tmpPath) +	bashcmd := editor + " " + tmpPath + ";exit" +	cmd := exec.Command("bash", "-i", "-c", bashcmd)  	cmd.Stdin = os.Stdin  	cmd.Stdout = os.Stdout  	cmd.Stderr = os.Stderr  | 
