mirror of
https://github.com/xoseperez/espurna.git
synced 2026-03-04 07:24:20 +01:00
update string search logic to use brute-force for a full string, not just a single char (ref. c++17/c++20 algorithm std::search defaults) original code mixed lineview/buffer logic outside of the terminal parser instead, make sure that delimited classes never return delimiter itself line classes do so as well, equaly handling both '\n' and '\r\n' existing terminal api now handles implicitly terminated strings by default reworked linebuffer initialization order to use inheritance in place of plain member init. as a bonus, its main methods are no longer templated reducing the resulting code size per linebuffer specialization (not by very much, though)