terminal: Update terminal->end whenever we write a character
authorKristian Høgsberg <krh@bitplanet.net>
Mon, 25 Nov 2013 00:54:12 +0000 (16:54 -0800)
committerKristian Høgsberg <krh@bitplanet.net>
Mon, 25 Nov 2013 01:01:26 +0000 (17:01 -0800)
commit1d781ee204595120657dd255f1a5ca75dfe01237
tree2ae799d2bae11767430d399e9f6c55cd2b4513d2
parent989e9d582cc7b3cfb931518f2e523db08c8a3197
terminal: Update terminal->end whenever we write a character

We used to only update it on newline, which breaks when somebody moves
the cursor below terminal->end and writes stuff.  Instead update it whenever
we write a character to the terminal.

https://bugs.freedesktop.org/show_bug.cgi?id=71935
clients/terminal.c