1
0
Fork 0
forked from murx/murx

Group history limits with configuration constants

This commit is contained in:
Johannes Findeisen 2026-11-23 19:13:49 +01:00
commit 465648e448
3 changed files with 6 additions and 7 deletions

5
murx.c
View file

@ -149,6 +149,8 @@ static int send_msg(int fd, uint32_t type, const void *data, size_t len);
#define SIZE_CHECK_MS 250
#define NAME_CHECK_MS 1000
#define MENU_MAX_DEPTH 8
#define DEFAULT_HISTORY_LINES 2000
#define MAX_HISTORY_LINES 100000
/* ------------------------------------------------------------------ */
/* small helpers */
@ -393,9 +395,6 @@ typedef enum {
PS_STRING_ESC
} ParseState;
#define DEFAULT_HISTORY_LINES 2000
#define MAX_HISTORY_LINES 100000
typedef struct Pane Pane;
struct Pane {