I've done some research and it looks like that the way linux keeps history is less about security and audit and more about helping the user.
Even after making changes to instantly log the command and space commands the command still wont log till finished.
Is there any way to improve audit logging other then possibly writing a module for the linux kernel that will instantly log whatever is typed?