diff options
Diffstat (limited to 'editors')
-rw-r--r-- | editors/vi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editors/vi.c b/editors/vi.c index 93e564756..92c069de0 100644 --- a/editors/vi.c +++ b/editors/vi.c | |||
@@ -2106,13 +2106,13 @@ static void rawmode(void) | |||
2106 | term_vi.c_cc[VMIN] = 1; | 2106 | term_vi.c_cc[VMIN] = 1; |
2107 | term_vi.c_cc[VTIME] = 0; | 2107 | term_vi.c_cc[VTIME] = 0; |
2108 | erase_char = term_vi.c_cc[VERASE]; | 2108 | erase_char = term_vi.c_cc[VERASE]; |
2109 | tcsetattr(0, TCSANOW, &term_vi); | 2109 | tcsetattr_stdin_TCSANOW(&term_vi); |
2110 | } | 2110 | } |
2111 | 2111 | ||
2112 | static void cookmode(void) | 2112 | static void cookmode(void) |
2113 | { | 2113 | { |
2114 | fflush(stdout); | 2114 | fflush(stdout); |
2115 | tcsetattr(0, TCSANOW, &term_orig); | 2115 | tcsetattr_stdin_TCSANOW(&term_orig); |
2116 | } | 2116 | } |
2117 | 2117 | ||
2118 | //----- Come here when we get a window resize signal --------- | 2118 | //----- Come here when we get a window resize signal --------- |