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