Commit c0762c4972bd7434a08914eb72304a4c65375a8d

Pierre Le Marre 2025-01-20T16:33:50

keymap: Fix buffer unnecessary written twice When dumping the keymap, we first try to write to the buffer and get the min size requirement. Then we reallocate if necessary. However, we should not write it again if we got enough space previously!