tyfuzz: support hyperlinks

terminology-1.3
Boris Faure 5 years ago
parent dd8e9cedcc
commit 5e06ee1d78
  1. 4
      src/bin/tyfuzz.c

@ -84,6 +84,10 @@ _termpty_init(Termpty *ty)
ty->fd = STDIN_FILENO;
ty->fd_dev_null = open("/dev/null", O_WRONLY|O_APPEND);
assert(ty->fd_dev_null >= 0);
ty->hl.bitmap = calloc(1, HL_LINKS_MAX / 8); /* bit map for 1 << 16 elements */
assert(ty->hl.bitmap);
/* Mark id 0 as set */
ty->hl.bitmap[0] = 1;
}
static void

Loading…
Cancel
Save