MCPcopy Create free account
hub / github.com/MiniCodeMonkey/chief / DeleteEditChar

Method DeleteEditChar

internal/tui/settings.go:133–138  ·  view source on GitHub ↗

DeleteEditChar removes the last character from the edit buffer.

()

Source from the content-addressed store, hash-verified

131
132// DeleteEditChar removes the last character from the edit buffer.
133func (s *SettingsOverlay) DeleteEditChar() {
134 if len(s.editBuffer) > 0 {
135 runes := []rune(s.editBuffer)
136 s.editBuffer = string(runes[:len(runes)-1])
137 }
138}
139
140// ToggleBool toggles the selected boolean value.
141// Returns the key and new value for the caller to act on.

Callers 2

handleSettingsKeysMethod · 0.80

Calls

no outgoing calls

Tested by 1