aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/screen.c
diff options
context:
space:
mode:
authorMichael Reed <m.reed@mykolab.com>2015-02-05 14:29:45 -0500
committerJustin M. Keyes <justinkz@gmail.com>2015-02-08 17:46:09 -0500
commit10b2a0e52980aba2d1efc072368fcaf1f33e7512 (patch)
tree0a71d9b4b2e5d121a5ec2474b12118fbc487be8e /src/nvim/screen.c
parent0854c21af3c200a580dc9b0075b9d4ca738a496a (diff)
downloadrneovim-10b2a0e52980aba2d1efc072368fcaf1f33e7512.tar.gz
rneovim-10b2a0e52980aba2d1efc072368fcaf1f33e7512.tar.bz2
rneovim-10b2a0e52980aba2d1efc072368fcaf1f33e7512.zip
Remove 'ttyfast'
refs #1045 #1051 This was enabled by default a while ago (#1051), and has apparently not created any issues. The amount of actual code related to it is tiny, so it has been removed.
Diffstat (limited to 'src/nvim/screen.c')
-rw-r--r--src/nvim/screen.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/screen.c b/src/nvim/screen.c
index 9deaa7979f..7e7a7c1148 100644
--- a/src/nvim/screen.c
+++ b/src/nvim/screen.c
@@ -4196,8 +4196,7 @@ win_line (
* Don't do this for double-width characters.
* Don't do this for a window not at the right screen border.
*/
- if (p_tf
- && !(has_mbyte
+ if (!(has_mbyte
&& ((*mb_off2cells)(LineOffset[screen_row],
LineOffset[screen_row] + screen_Columns)
== 2
@@ -7102,8 +7101,9 @@ static int win_do_lines(win_T *wp, int row, int line_count, int mayclear, int de
return retval;
}
- if (wp->w_next != NULL && p_tf) /* don't delete/insert on fast terminal */
+ if (wp->w_next != NULL) {
return FAIL;
+ }
return MAYBE;
}