Add a few more ed commands.

This commit is contained in:
2026-08-13 16:38:01 +01:00
parent cd13557e15
commit 48fb8e3501
5 changed files with 41 additions and 9 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ int main(int argc, char *argv[]) {
bed::BEd ed(args);
ed.run();
} catch (bed::fatal_error &e) {
if (std::string_view(e.what()) != "")
if (e.code)
std::cout << "Fatal error: " << e.what() << std::endl;
return e.code;
} catch (...) {