@@ -1208,6 +1208,7 @@ emacs_value Fvterm_new(emacs_env *env, ptrdiff_t nargs, emacs_value args[],
1208
1208
int disable_underline = env -> is_not_nil (env , args [4 ]);
1209
1209
int disable_inverse_video = env -> is_not_nil (env , args [5 ]);
1210
1210
int ignore_blink_cursor = env -> is_not_nil (env , args [6 ]);
1211
+ int set_bold_hightbright = env -> is_not_nil (env , args [7 ]);
1211
1212
1212
1213
term -> vt = vterm_new (rows , cols );
1213
1214
vterm_set_utf8 (term -> vt , 1 );
@@ -1216,6 +1217,7 @@ emacs_value Fvterm_new(emacs_env *env, ptrdiff_t nargs, emacs_value args[],
1216
1217
1217
1218
VTermState * state = vterm_obtain_state (term -> vt );
1218
1219
vterm_state_set_unrecognised_fallbacks (state , & parser_callbacks , term );
1220
+ vterm_state_set_bold_highbright (state , set_bold_hightbright );
1219
1221
1220
1222
vterm_screen_reset (term -> vts , 1 );
1221
1223
vterm_screen_set_callbacks (term -> vts , & vterm_screen_callbacks , term );
@@ -1476,7 +1478,7 @@ int emacs_module_init(struct emacs_runtime *ert) {
1476
1478
// Exported functions
1477
1479
emacs_value fun ;
1478
1480
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 );
1480
1482
bind_function (env , "vterm--new" , fun );
1481
1483
1482
1484
fun = env -> make_function (env , 1 , 5 , Fvterm_update ,
0 commit comments