mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-08-07 22:02:56 +03:00
Add search history
Add search history for filterable and searchable views.
This commit is contained in:
@@ -9,12 +9,16 @@ import (
|
||||
|
||||
type SearchTrait struct {
|
||||
c *ContextCommon
|
||||
*SearchHistory
|
||||
|
||||
searchString string
|
||||
}
|
||||
|
||||
func NewSearchTrait(c *ContextCommon) *SearchTrait {
|
||||
return &SearchTrait{c: c}
|
||||
return &SearchTrait{
|
||||
c: c,
|
||||
SearchHistory: NewSearchHistory(),
|
||||
}
|
||||
}
|
||||
|
||||
func (self *SearchTrait) GetSearchString() string {
|
||||
|
Reference in New Issue
Block a user