Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion edit.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ func doEdit(ctx context.Context, ss *session, command string, pilot commandIn) e
Exec: (&askSqlAndExecute{getKey: pilot.GetKey, session: ss}).Exec,
}
if a, ok := pilot.AutoPilotForCsvi(); ok {
editor.Pilot = misc.AutoCsvi{a}
editor.Pilot = misc.AutoCsvi{GetKeyAndSize: a}
}
if ss.tx == nil {
editor.Query = ss.conn.QueryContext
Expand Down
2 changes: 1 addition & 1 deletion interactive.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ func (ss *session) newInteractiveIn() *interactiveIn {
}
editor.LineEditor.Tty = tty1
tty = tty1
csviPilot = misc.AutoCsvi{tty1}
csviPilot = misc.AutoCsvi{GetKeyAndSize: tty1}
} else {
tty = &tty8.Tty{}
}
Expand Down