(client *Client)
| 47 | } |
| 48 | |
| 49 | func newConfigTabModel(client *Client) configTabModel { |
| 50 | ti := textinput.New() |
| 51 | ti.CharLimit = 256 |
| 52 | return configTabModel{ |
| 53 | client: client, |
| 54 | textInput: ti, |
| 55 | } |
| 56 | } |
| 57 | |
| 58 | func (m configTabModel) Init() tea.Cmd { |
| 59 | return m.fetchConfig |