Fix bug in input
Fix bug in input

In applications with a scroll region, newlines were not being properly
added because the scroll region was ignored.

jwilm/alacritty,jwilm/alacritty,dannydulai/alacritty,jwilm/alacritty,jwilm/alacritty,alacritty/alacritty,dannydulai/alacritty,alacritty/alacritty