1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-05 00:59:19 +02:00

Bump gocui

This commit is contained in:
Stefan Haller
2023-08-02 11:34:01 +02:00
parent 4aca854b59
commit c5acbb6c7c
6 changed files with 44 additions and 25 deletions

View File

@ -63,9 +63,7 @@ func SimpleEditor(v *View, key Key, ch rune, mod Modifier) bool {
v.TextArea.BackSpaceWord()
case key == KeyCtrlY:
v.TextArea.Yank()
// TODO: see if we need all three of these conditions: maybe the final one is sufficient
case ch != 0 && mod == 0 && unicode.IsPrint(ch):
case unicode.IsPrint(ch):
v.TextArea.TypeRune(ch)
default:
return false