(v int)
| 151 | } |
| 152 | |
| 153 | func maxOne(v int) int { |
| 154 | if v < 1 { |
| 155 | return 1 |
| 156 | } |
| 157 | return v |
| 158 | } |
| 159 | |
| 160 | // setActive writes the new active profile to disk, then asks the app to reload. |
| 161 | func (m profilesModel) setActive(name string) tea.Cmd { |
no outgoing calls
no test coverage detected