Closed lelazsq closed 1 year ago
Thanks for the bug report!
Ah interesting, it's hitting this statement marked unreachable:
https://github.com/jtroo/kanata/blob/e681f0928e9fe2cc7fbec7ae93b077f0f5549aab/src/trie.rs#L56
Haven't had a chance to look into it more yet.
Should hopefully be fixed in the linked PR!
Reopening just for confirmation.
it works! thank you.
Describe the bug when i type a sequence, i get this error: thread '' panicked at 'internal error: entered unreachable code: subtrie should have a key', src\trie.rs:56:25
note: run with
RUST_BACKTRACE=1
environment variable to display a backtrace error: process didn't exit successfully:target\release\kanata.exe --cfg c:/users/rizq/documents/doffed-kanata.kbd
(exit code: 0xc0000409, STATUS_STACK_BUFFER_OVERRUN)Relevant kanata configs here's my config (though this bug should appear with any config that has sequences):
To reproduce use the config above, press space (starts sequence leader) then type
,q
.Expected behavior
!cmini freq
to be outputted.Operating system Windows 11
Additional context kanata sometimes crashes randomly without typing a sequence but I can't find a way to replicate it.