Commit graph

9 commits

Author SHA1 Message Date
adnano
7c1e28b201 Fix potential buffer overflow
Calling strncpy where the size of the string to copy is equal to the
size of the destination can potentially lead to a buffer overflow. To
fix this, copy only what is needed with memcpy, and explicitly terminate
the string with a null character.
2023-02-26 07:50:54 -05:00
adnano
5ed249e3f3 Fix buffer size not divisible by scale 2023-02-01 09:37:02 -05:00
adnano
272540c7fb Drop xdg-output-unstable-v1
Closes: https://todo.sr.ht/~adnano/wmenu/2
2022-12-02 12:00:28 -05:00
adnano
38b4bae4bd Fix move to end of word 2022-12-02 11:35:30 -05:00
adnano
972277a5e0 Support basic Emacs-style line-editing bindings
Implements: https://todo.sr.ht/~adnano/wmenu/3
2022-12-02 10:09:32 -05:00
adnano
8cc6a22737 Support number pad keys 2022-12-02 09:29:15 -05:00
adnano
1f9b23e412 Adjust line height 2022-04-17 13:27:28 -04:00
adnano
decd2452de Implement vertical list support
Implements: https://todo.sr.ht/~adnano/wmenu/1
2022-04-17 13:15:09 -04:00
adnano
2f1c189d53 Initial commit 2022-01-16 08:32:58 -05:00