night0721
47e50fcf8e
Print date only if current message is newer than previous message by a day Make keybinding configurable for clear input
24 lines
493 B
C
24 lines
493 B
C
/* Server */
|
|
#define DEBUG 0
|
|
|
|
#define PORT 20247
|
|
#define MAX_NAME 32 /* Max username length */
|
|
#define DATABASE_NAME "test.db"
|
|
#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
|