0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-24 14:34:00 +01:00

cosntruct: Elide empty string append in console recording.

This commit is contained in:
Jason Volk 2023-02-15 13:33:46 -08:00
parent 499bec0a1a
commit affd1f2913

View file

@ -348,6 +348,9 @@ construct::console::handle_line_bymodule()
append(*record_fd, string_view(cmdline));
}
if(empty(str))
return;
append(*record_fd, str);
}