vx / connectbot

Enhanced version of the popular ConnectBot SSH and telnet client
http://connectbot.vx.sk
Apache License 2.0
193 stars 62 forks source link

Enable automatic close on disconnect (for automation) #106

Open mendhak opened 10 years ago

mendhak commented 10 years ago

Currently: When launching a shortcut connection from Tasker or other automation app, the app stays in focus on the phone screen even after disconnecting. This pull request is to allow the app to automatically disconnect and close when a connection has been terminated. It respects the 'stay connected' flag.

image

This pull request adds a 'Close on disconnect' option

image

This will allow the connection to disconnect without prompting, which is favorable for automation.

This patch was originally posted here and here