zsm/include/config.h
2024-09-20 17:50:24 +01:00

23 lines
461 B
C

/* Server */
#define DEBUG 0
#define PORT 20247
#define MAX_NAME 32 /* Max username length */
#define MAX_DATA_LENGTH 8192
/* Don't touch unless you know what you are doing */
#define MAX_THREADS 8
#define MAX_CLIENTS_PER_THREAD 1024
/* Client */
#define DOMAIN "127.0.0.1"
/* #define USERNAME "night" */
/* UI */
#define PANEL_HEIGHT 1
#define TEXTBOX_HEIGHT 1
#define CLIENT_DATA_DIR "~/.local/share/zsm/zen"
/* Keybindings */
#define CLEAR_INPUT CTRLX