@@ -1208,6 +1208,7 @@ emacs_value Fvterm_new(emacs_env *env, ptrdiff_t nargs, emacs_value args[],
12081208 int disable_underline = env -> is_not_nil (env , args [4 ]);
12091209 int disable_inverse_video = env -> is_not_nil (env , args [5 ]);
12101210 int ignore_blink_cursor = env -> is_not_nil (env , args [6 ]);
1211+ int set_bold_hightbright = env -> is_not_nil (env , args [7 ]);
12111212
12121213 term -> vt = vterm_new (rows , cols );
12131214 vterm_set_utf8 (term -> vt , 1 );
@@ -1216,6 +1217,7 @@ emacs_value Fvterm_new(emacs_env *env, ptrdiff_t nargs, emacs_value args[],
12161217
12171218 VTermState * state = vterm_obtain_state (term -> vt );
12181219 vterm_state_set_unrecognised_fallbacks (state , & parser_callbacks , term );
1220+ vterm_state_set_bold_highbright (state , set_bold_hightbright );
12191221
12201222 vterm_screen_reset (term -> vts , 1 );
12211223 vterm_screen_set_callbacks (term -> vts , & vterm_screen_callbacks , term );
@@ -1476,7 +1478,7 @@ int emacs_module_init(struct emacs_runtime *ert) {
14761478 // Exported functions
14771479 emacs_value fun ;
14781480 fun =
1479- env -> make_function (env , 4 , 7 , Fvterm_new , "Allocate a new vterm." , NULL );
1481+ env -> make_function (env , 4 , 8 , Fvterm_new , "Allocate a new vterm." , NULL );
14801482 bind_function (env , "vterm--new" , fun );
14811483
14821484 fun = env -> make_function (env , 1 , 5 , Fvterm_update ,
0 commit comments