FIX: undefined object when inputing empty line
Merge pull request #1 from mgarciaisaia/fix-undefined-enter

FIX: undefined object when inputing empty line

This fix is indeed correct. Proceeding to merge it.