Fixing BR #167 (Key down now puts the content of inputline into the history (doing...