This commit is contained in:
2026-09-08 11:56:26 +01:00
parent d6d3f31326
commit a5794d9ab3
4 changed files with 207 additions and 180 deletions
+2
View File
@@ -2,6 +2,8 @@
#include "bed.h"
namespace bed::internal::ui::text_mode {
// TODO: make this into a proper layout engine, in order to avoid so many expensive calculations repeatedly.
template <typename F>
static void for_each_cluster(std::string_view s, F &&f) {
size_t cluster_start = 0;