[vte] parser: Increase maximum number of parameters
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vte] parser: Increase maximum number of parameters
- Date: Tue, 27 Mar 2018 17:48:06 +0000 (UTC)
commit e934d70d8bcf61a0e0e518caa8da40c52c79fd1c
Author: Christian Persch <chpe src gnome org>
Date: Tue Mar 27 19:40:13 2018 +0200
parser: Increase maximum number of parameters
16 parameters is a bit tight for SGR, considering we allow
specifying 3 colours ([345]8:2:id:r:g:b), each taking 6
parameters, and then other attributes too, in the same call.
Increase the maximum to 32, which should be enough.
src/parser.hh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/parser.hh b/src/parser.hh
index 118f8f9..9ba96d7 100644
--- a/src/parser.hh
+++ b/src/parser.hh
@@ -35,7 +35,7 @@ struct vte_seq;
* host side is not used by anyone.
*/
-#define VTE_PARSER_ARG_MAX (16)
+#define VTE_PARSER_ARG_MAX (32)
enum {
VTE_SEQ_NONE, /* placeholder, no sequence parsed */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]