Fix the original cause of the "arrow keys don't work on screen" bug.
authorKaroly Lorentey <lorentey@elte.hu>
Sun, 3 Jul 2005 17:09:22 +0000 (17:09 +0000)
committerKaroly Lorentey <lorentey@elte.hu>
Sun, 3 Jul 2005 17:09:22 +0000 (17:09 +0000)
commit2f98e6e37b5870a644a178d4d6998c6c7f1f68dd
tree521afcd955de41a5665ab149a54ddf1ef046c1c1
parenta1e76a629b601f19d7dc0acc28679355eaa1800b
Fix the original cause of the "arrow keys don't work on screen" bug.

* src/term.c (tty_set_terminal_modes, tty_reset_terminal_modes): Flush
  tty output before returning.

* src/sysdep.c (reset_sys_modes): Remove superflous fflush call.

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-370
src/sysdep.c
src/term.c