Commit: f74f3badc2c5e1c0d37376aa68b8477d9301f672
Parent: da5ac4618a044e26f10a79db1ccc5050d69bd822
Author: 0x766F6964
Date: Sun, 3 Nov 2019 22:07:53 -0700
terminal.c: remove references to cygwin
Diffstat:
1 file changed, 0 insertions(+), 7 deletions(-)
diff --git a/terminal.c b/terminal.c
@@ -408,12 +408,9 @@ void free_term_specs(void)
}
static struct term_spec dumb_term = { init_list_1st(NULL) "", 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, init_list_last(NULL) };
-static struct term_spec cygwin_term = { init_list_1st(NULL) "", 2, 1, 1, 0, 1, 0, 0, 0, 0, 0, init_list_last(NULL) };
static struct term_spec *default_term_spec(unsigned char *term)
{
- if (!casestrcmp(term, cast_uchar "cygwin"))
- return &cygwin_term;
return &dumb_term;
}
@@ -936,10 +933,6 @@ void destroy_terminal(void *term_)
while (!list_empty(term->windows)) {
delete_window(list_struct(term->windows.next, struct window));
}
- if (!F && !casestrcmp(term->term, cast_uchar "cygwin")) {
- clear_terminal(term);
- redraw_screen(term);
- }
del_from_list(term);
close_socket(&term->blocked);
free(term->title);