cleaning up
parent
7e2dab2a66
commit
1bd2959529
|
|
@ -30,6 +30,7 @@ func (o *LogOptions) Info() string {
|
|||
return fmt.Sprintf("%q::%q", o.Path, o.Container)
|
||||
}
|
||||
|
||||
// Clone clones options.
|
||||
func (o *LogOptions) Clone() *LogOptions {
|
||||
return &LogOptions{
|
||||
Path: o.Path,
|
||||
|
|
|
|||
|
|
@ -99,8 +99,8 @@ func (l *Log) Init(ctx context.Context) (err error) {
|
|||
}
|
||||
|
||||
// InCmdMode checks if prompt is active.
|
||||
func (v *Log) InCmdMode() bool {
|
||||
return v.logs.cmdBuff.InCmdMode()
|
||||
func (l *Log) InCmdMode() bool {
|
||||
return l.logs.cmdBuff.InCmdMode()
|
||||
}
|
||||
|
||||
// LogCleared clears the logs.
|
||||
|
|
|
|||
Loading…
Reference in New Issue