From 960d322ef97e58c5a833f101f67b754930727f79 Mon Sep 17 00:00:00 2001 From: night0721 Date: Mon, 4 Nov 2024 20:06:27 +0000 Subject: [PATCH] Remove RESIZE from code as handled by sigwinch --- ccc.c | 4 ---- config.h | 1 - 2 files changed, 5 deletions(-) diff --git a/ccc.c b/ccc.c index 3539f52..071de2d 100644 --- a/ccc.c +++ b/ccc.c @@ -399,10 +399,6 @@ int main(int argc, char **argv) case ESC: break; - case RESIZE: - half_width = cols / 2 + WINDOW_OFFSET; - list_files(); - break; default: break; } diff --git a/config.h b/config.h index a33b109..187d362 100644 --- a/config.h +++ b/config.h @@ -51,7 +51,6 @@ In COLS: #define UP 0x103 #define LEFT 0x104 #define RIGHT 0x105 -#define RESIZE 278 /* Colros */ #define GREEN "166;227;161"