Moved complete user input (complete_ui) out of readcmd in Shell.pm