terminal support (arrow and scroll doesnt work)