CancelEdit discards the edit buffer.
()
| 120 | |
| 121 | // CancelEdit discards the edit buffer. |
| 122 | func (s *SettingsOverlay) CancelEdit() { |
| 123 | s.editing = false |
| 124 | s.editBuffer = "" |
| 125 | } |
| 126 | |
| 127 | // AddEditChar adds a character to the edit buffer. |
| 128 | func (s *SettingsOverlay) AddEditChar(ch rune) { |
no outgoing calls