It looks like you're new here. If you want to get involved, click one of these buttons!
Could there be a setting for the command line history to track each drawing file separately during a given session?
It was helpful [in other software] to view the history corresponding only to the active drawing, to remember the last things I did there, say, after returning from working in another file(s) for some time. And if I needed to see again recent commands in a second file, I'd just tab back to it.
The undo stack, despite its quirks, works on a per-drawing basis, as I'd expect. However, the universal command line history obscures the command do/undo sequence when working among multiple drawings.