aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/option.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/option.c')
-rw-r--r--src/nvim/option.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/nvim/option.c b/src/nvim/option.c
index 9d3e02949e..2871a4b7de 100644
--- a/src/nvim/option.c
+++ b/src/nvim/option.c
@@ -76,6 +76,9 @@
#include "nvim/undo.h"
#include "nvim/window.h"
#include "nvim/os/os.h"
+#ifdef WIN32
+# include "nvim/os/pty_conpty_win.h"
+#endif
#include "nvim/api/private/helpers.h"
#include "nvim/os/input.h"
#include "nvim/os/lang.h"
@@ -4739,13 +4742,6 @@ bool get_tty_option(char *name, char **value)
return true;
}
- if (strequal(name, "tenc") || strequal(name, "termencoding")) {
- if (value) {
- *value = xstrdup("utf-8");
- }
- return true;
- }
-
if (strequal(name, "ttytype")) {
if (value) {
*value = p_ttytype ? xstrdup(p_ttytype) : xstrdup("nvim");