Skip to content

Commit f58fb16

Browse files
- Shell intro message to stdout.
- Remove obsolete colour rendering hack to "square up" colouring by adding leading line break to `stdin`.
1 parent 24fed39 commit f58fb16

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

internal/stackql/cmd/shell.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,7 @@ var shellCmd = &cobra.Command{
118118
outErrFile, _ := writer.GetDecoratedOutputWriter(writer.StdErrStr, cd)
119119

120120
var sb strings.Builder
121-
fmt.Fprintln(outfile, "") // necesary hack to get 'square' presentation
122-
fmt.Fprintln(outfile, getShellIntroLong())
121+
fmt.Fprintln(outErrFile, getShellIntroLong())
123122

124123
inputBundle, err := entryutil.BuildInputBundle(runtimeCtx)
125124
iqlerror.PrintErrorAndExitOneIfError(err)

0 commit comments

Comments
 (0)