Group history limits with configuration constants
This commit is contained in:
parent
3b4a450771
commit
465648e448
3 changed files with 6 additions and 7 deletions
5
murx.c
5
murx.c
|
|
@ -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 SIZE_CHECK_MS 250
|
||||||
#define NAME_CHECK_MS 1000
|
#define NAME_CHECK_MS 1000
|
||||||
#define MENU_MAX_DEPTH 8
|
#define MENU_MAX_DEPTH 8
|
||||||
|
#define DEFAULT_HISTORY_LINES 2000
|
||||||
|
#define MAX_HISTORY_LINES 100000
|
||||||
|
|
||||||
/* ------------------------------------------------------------------ */
|
/* ------------------------------------------------------------------ */
|
||||||
/* small helpers */
|
/* small helpers */
|
||||||
|
|
@ -393,9 +395,6 @@ typedef enum {
|
||||||
PS_STRING_ESC
|
PS_STRING_ESC
|
||||||
} ParseState;
|
} ParseState;
|
||||||
|
|
||||||
#define DEFAULT_HISTORY_LINES 2000
|
|
||||||
#define MAX_HISTORY_LINES 100000
|
|
||||||
|
|
||||||
typedef struct Pane Pane;
|
typedef struct Pane Pane;
|
||||||
|
|
||||||
struct Pane {
|
struct Pane {
|
||||||
|
|
|
||||||
|
|
@ -26,10 +26,10 @@ package() {
|
||||||
}
|
}
|
||||||
|
|
||||||
sha512sums="
|
sha512sums="
|
||||||
0df7be74bc76c32ead5c71e617f618296cdb3aa86760da748f1e4091cb2ad24d6c522f4aae4e4c82296222608e5be5c1c7525e091af6e52faf938f2466f63587 murx.c
|
f861459121c3beec590a4d9a40f1a66ebc7933c024cca0c9c18a1608ca11e5ad1b064e0f732bafa0c153e57b45faa10c623387fc162c43aab81bd7607435fd6f murx.c
|
||||||
ac75bfe596fae665ba882a10f5d16551bdd02cd601b786364763ac74dbc651c386d3a464eb63e0344354b953611629135190633e3b8ff3a8ef0f0849d60a3f7b Makefile
|
ac75bfe596fae665ba882a10f5d16551bdd02cd601b786364763ac74dbc651c386d3a464eb63e0344354b953611629135190633e3b8ff3a8ef0f0849d60a3f7b Makefile
|
||||||
7546e0d84cb9094b4b2ac14e05d38a37270c2a4451f3d41aaa7b0b38290acb0ff6de821331634c802d08568817cf1ed0fbb5afd6734ef4a8155720b826ab6ce9 murx.1
|
7546e0d84cb9094b4b2ac14e05d38a37270c2a4451f3d41aaa7b0b38290acb0ff6de821331634c802d08568817cf1ed0fbb5afd6734ef4a8155720b826ab6ce9 murx.1
|
||||||
22d6907c0ea385c7368880f71f0ce9f6549a6623718e6447132d74b4cd18085dcbc861593f91b70decc83bf859ce93403e613e6b967a205edd51f8ecd51ddd15 MURX-README.md
|
162b917a63a481554368083ba4d285c759c4c62148b073d658a8e32840f1aeffedff369876190cc0d2f164efdb800220bee882d823fa350b2063d022842e1182 MURX-README.md
|
||||||
2fe33ba22c5f68e124904be594208f050be20f33d115f9a56f60cac93304102da32e6a7e78154e831d3704da7ca8bfefd7025e7b8901e65babcd83e7342f6382 LICENSE
|
2fe33ba22c5f68e124904be594208f050be20f33d115f9a56f60cac93304102da32e6a7e78154e831d3704da7ca8bfefd7025e7b8901e65babcd83e7342f6382 LICENSE
|
||||||
4d32dba475e5f9818fcd008068b011cbae9fc4b8e29897c933775d6660f44a7992d08a1550320d83233af729a42b241ef1d182bf5983ef2f64deab76cab2260d AUTHORS
|
4d32dba475e5f9818fcd008068b011cbae9fc4b8e29897c933775d6660f44a7992d08a1550320d83233af729a42b241ef1d182bf5983ef2f64deab76cab2260d AUTHORS
|
||||||
"
|
"
|
||||||
|
|
|
||||||
|
|
@ -8,10 +8,10 @@ url='https://codeberg.org/armin/murx'
|
||||||
license=('Apache-2.0')
|
license=('Apache-2.0')
|
||||||
depends=('glibc')
|
depends=('glibc')
|
||||||
source=('murx.c' 'Makefile' 'murx.1' 'MURX-README.md' 'LICENSE' 'AUTHORS')
|
source=('murx.c' 'Makefile' 'murx.1' 'MURX-README.md' 'LICENSE' 'AUTHORS')
|
||||||
sha256sums=('c4c21bc98923bee42f1dc8154ec67d53614e4e5a2f82b844efa9e554ed1a6eb7'
|
sha256sums=('936dc8c7fb6d1538f8a1d8f9110eeb8bc0a627ca4847f8edffb7a9afcf4f7c53'
|
||||||
'78a9c19c212e8038422e1bb4bb96d9b25eb19ad1359489cd32edf9e1a76638b2'
|
'78a9c19c212e8038422e1bb4bb96d9b25eb19ad1359489cd32edf9e1a76638b2'
|
||||||
'a4b48ce1c847869956ea52eac50c51446a9e6f720d8e4b211cb97a78a7f53663'
|
'a4b48ce1c847869956ea52eac50c51446a9e6f720d8e4b211cb97a78a7f53663'
|
||||||
'a3f4b484eb18b3277370b495ff7174fb9aac48b41759f838d5ccdec8c37c5ccf'
|
'd86bb6257dee64ff4709faf4ab8c1dc2d6adfc98b464978389bcfa88568e63fb'
|
||||||
'31c5556be4cdd9bf52bb55f18ead0c68a4f0e793c2c2dab0a2a2c6d92407d0d4'
|
'31c5556be4cdd9bf52bb55f18ead0c68a4f0e793c2c2dab0a2a2c6d92407d0d4'
|
||||||
'dbc8a4fc569d4cd7bcd45516ccc98c1396fce0682c262103069c8f5150538cdb')
|
'dbc8a4fc569d4cd7bcd45516ccc98c1396fce0682c262103069c8f5150538cdb')
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue