I think state of console is generally saved per application (maybe unless first application is cmd.exe
), not sure there is a way to make it inheritable, but you can adjust console properties and they will be saved for the future.
For cmd first and then vifm.exe, I did notice that doskey /history is empty, I am kind of wondering if something is preventing it for saving the commands to memory.
Maybe it's UI library. Vifm does adjust console state, but I tried commenting it out and nothing has changed with regard to the history.