(config *survey.PromptConfig, val interface{})
| 326 | } |
| 327 | |
| 328 | func (s *Select) Cleanup(config *survey.PromptConfig, val interface{}) error { |
| 329 | cursor := s.NewCursor() |
| 330 | cursor.Restore() |
| 331 | return s.Render( |
| 332 | SelectQuestionTemplate, |
| 333 | SelectTemplateData{ |
| 334 | Select: *s, |
| 335 | Answer: val.(core.OptionAnswer).Value, |
| 336 | ShowAnswer: true, |
| 337 | Description: s.Description, |
| 338 | Config: config, |
| 339 | }, |
| 340 | ) |
| 341 | } |
no outgoing calls