(m *TuiModel)
| 22 | ) |
| 23 | |
| 24 | func PrepareFormatMode(m *TuiModel) { |
| 25 | m.UI.FormatModeEnabled = true |
| 26 | m.UI.EditModeEnabled = false |
| 27 | m.TextInput.Model.SetValue("") |
| 28 | m.FormatInput.Model.SetValue("") |
| 29 | m.FormatInput.Model.Focus = true |
| 30 | m.TextInput.Model.Focus = false |
| 31 | m.TextInput.Model.Blur() |
| 32 | } |
| 33 | |
| 34 | func MoveCursorWithinBounds(m *TuiModel) { |
| 35 | defer func() { |
no test coverage detected