Detect running process or active serial connection while closing
This this MR:
- When you press the close button on the tab, we first check if there is a running process in the tab, or an active connection. If yes, we ask the user whether they want to kill/close the process/connection.
- When we close the terminal itself, we check if any of the tabs have a running process in the tab, or an active connection. If yes, we ask the user whether they want to kill/close the process(es)/connection(s).
Apart from this, a minor bugfix to CMakeLists has been done. Also the second commit fixes the coding style.
Edited by Marcus Britanicus