jixiuf / vterm-toggle

toggles between the vterm buffer and whatever buffer you are editing.
GNU General Public License v3.0
188 stars 12 forks source link

exit term is not killing the window #18

Closed Ergus closed 3 years ago

Ergus commented 3 years ago

Hi:

When in a toggled vterm if I insert exit the terminal finishes, but the window is not killed (like in multi-term for example).

I tried vterm-toggle-reset-window-configration-after-exit but is resets the configuration to the initial configuration when the vterm window was toggled on or created.

Is it possible to add an option to kill the window if I do an exit? OR add an special value for vterm-toggle-reset-window-configration-after-exit? something like 'kill-window-only or so?

jixiuf commented 3 years ago

Hi:

When in a toggled vterm if I insert exit the terminal finishes, but the window is not killed (like in multi-term for example).

I tried vterm-toggle-reset-window-configration-after-exit but is resets the configuration to the initial configuration when the vterm window was toggled on or created.

Is it possible to add an option to kill the window if I do an exit? OR add an special value for vterm-toggle-reset-window-configration-after-exit? something like 'kill-window-only or so?

done.

Ergus commented 3 years ago

Thanks

Ergus commented 3 years ago

done.

BTW:

Maybe it will be usefull to mention these options in the Readme. Specially for new users.