made it such that editing prev commands occurs on command line. this needs some improvements, particularly in the way in which the command line behaves after encountering previous data
merged conflicts