nob.h icon indicating copy to clipboard operation
nob.h copied to clipboard

Add option to not reset the command after execution

Open Israel77 opened this issue 1 month ago • 0 comments

A missing feature from the new API that was available on the deprecated one, is the ability to execute the commands without reseting the memory associated with them. While in many cases just firing the command and reusing the memory for the next is sufficient, there are situations where we might want to keep the command data.

My use case scenario for this functionality is using the commands that were executed successfully to generate a compile_commands.json file for the project afterwards (which is useful for people using LSPs).

Israel77 avatar Nov 20 '25 15:11 Israel77