Input line is now working as expected! :D

nonl() interfered with noecho somehow and cbreak() didnt work as well as
raw() for inputline