Fix io system and highlighting.

This commit is contained in:
2026-09-03 14:23:05 +01:00
parent 662df68ab4
commit 46bdb8cd0f
17 changed files with 413 additions and 338 deletions
+4
View File
@@ -238,7 +238,9 @@ void Function::register_posix(BEd &ctx) {
const Argument &,
std::vector<buffer::Line> *
) {
ctx.io.apply(internal::io::Token::Warning);
ctx.io.write_line(ctx.last_help);
ctx.io.reset();
}
}
);
@@ -260,8 +262,10 @@ void Function::register_posix(BEd &ctx) {
std::vector<buffer::Line> *
) {
ctx.help_mode = !ctx.help_mode;
ctx.io.apply(internal::io::Token::Warning);
if (ctx.help_mode)
ctx.io.write_line(ctx.last_help);
ctx.io.reset();
}
}
);