We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
\q
1 parent 0cb98cb commit 38d61a5Copy full SHA for 38d61a5
CHANGELOG.md
@@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
15
16
- ``tt start`` now does not start an instance if it is already running.
17
- ``tt rocks`` uses rocks repo path relative to tt environment config location.
18
+- ``tt connect`` now does not crash on `\q` input.
19
20
### Added
21
cli/connect/console.go
@@ -254,6 +254,10 @@ func getExecutor(console *Console) prompt.Executor {
254
} else {
255
log.Fatalf("Failed to execute command: %s", err)
256
}
257
+ } else if len(results) == 0 {
258
+ console.Close()
259
+ log.Infof("Connection closed")
260
+ os.Exit(0)
261
262
data = results[0]
263
0 commit comments