aboutsummaryrefslogtreecommitdiffstats
path: root/src/e_keys.go
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2025-02-28 12:30:17 +0100
committerJoe <rbo@gmx.us>2025-02-28 12:30:17 +0100
commit397e45ad924ed97e7da0731fc54e3dccaf02cb20 (patch)
tree8dd171cdae05bb5fd61029e58725d84adaabf2d0 /src/e_keys.go
parenthere (diff)
downloadhardflip-397e45ad924ed97e7da0731fc54e3dccaf02cb20.tar.gz
hardflip-397e45ad924ed97e7da0731fc54e3dccaf02cb20.tar.bz2
hardflip-397e45ad924ed97e7da0731fc54e3dccaf02cb20.tar.xz
hardflip-397e45ad924ed97e7da0731fc54e3dccaf02cb20.tar.zst
hardflip-397e45ad924ed97e7da0731fc54e3dccaf02cb20.zip
fuck im reseting this shit hard
Diffstat (limited to '')
-rw-r--r--src/e_keys.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/e_keys.go b/src/e_keys.go
index ce378eb..859a925 100644
--- a/src/e_keys.go
+++ b/src/e_keys.go
@@ -372,6 +372,7 @@ func e_insert_name_events(data *HardData, ui *HardUI,
tmp = data.litems.head
}
data.litems.curr = tmp
+ data.litems.reset_id()
} else if event.Key() == tcell.KeyEnter {
if ui.buff.len() == 0 {
ui.s.HideCursor()