mirror of
https://github.com/zyedidia/micro.git
synced 2026-02-06 07:00:24 +09:00
@@ -164,7 +164,7 @@ func (m *Messenger) HandleEvent(event tcell.Event) {
|
||||
if m.cursorx < Count(m.response) {
|
||||
m.cursorx++
|
||||
}
|
||||
case tcell.KeyBackspace2:
|
||||
case tcell.KeyBackspace2, tcell.KeyBackspace:
|
||||
if m.cursorx > 0 {
|
||||
m.response = string([]rune(m.response)[:m.cursorx-1]) + string(m.response[m.cursorx:])
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user