fixed various reader issues
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-09-18 21:41:00 +09:00
parent ec4a6facee
commit b6e6274666
10 changed files with 181 additions and 66 deletions

View File

@ -422,6 +422,7 @@ static void print_error (hcl_t* hcl, const hcl_bch_t* msghdr)
static void show_prompt (hcl_t* hcl, int level)
{
/* TODO: different prompt per level */
hcl_resetfeedloc (hcl);
hcl_logbfmt (hcl, HCL_LOG_STDOUT, "HCL> ");
hcl_logbfmt (hcl, HCL_LOG_STDOUT, HCL_NULL); /* flushing */
}