To gracefully close/disconnect a serial port connection with the iTerm2 plugin, use the following keystroke: control+a+k
You'll be asked to confirm the action. To do so, simply type "y".
If you're not following this procedure, the session will stay open in the background until you manually kill it using Activity Monitor or by using the "kill" command.
Here's some information on macOS' built-in "screen" command, which is used by our iTerm2 plugin for serial port connections:
Gracefully closing a serial port connection with the iTerm2 plugin
Modified on: Mon, 19 Dec, 2016 at 11:27 PM
Did you find it helpful? Yes No
Send feedbackSorry we couldn't be helpful. Help us improve this article with your feedback.