Make r fucntion allow zero.

This commit is contained in:
2026-08-31 10:16:25 +01:00
parent 4b0f3b8fb7
commit c0f9c6a234
+1 -1
View File
@@ -433,7 +433,7 @@ void Function::register_posix(BEd &ctx) {
.input_mode = Function::InputMode::None,
.desc = "Read from file into buffer.",
.default_address = "$",
.accept_zero = false,
.accept_zero = true,
.pre_text_mode = nullptr,
.handle = [](BEd &ctx, const buffer::Address &addr_, vase::Shard *, const Argument &arg, std::vector<buffer::Line> *) {
auto &addr = std::get<buffer::Line>(addr_);