(width, height int)
| 32 | } |
| 33 | |
| 34 | func NewSettingsView(width, height int) *SettingsView { |
| 35 | return &SettingsView{ |
| 36 | ActiveSection: SettingsSectionContent, |
| 37 | Width: width, |
| 38 | Height: height, |
| 39 | } |
| 40 | } |
| 41 | |
| 42 | func (v *SettingsView) HandleKey(key string) SettingsEvent { |
| 43 | switch key { |