#pragma once

#include <util/generic/strbuf.h>

namespace NSaasLB {
    namespace NAsciiArt {
        constexpr TStringBuf SPACE = "   ";
        constexpr TStringBuf LIST = " │ ";
        constexpr TStringBuf LIST_ITEM = " ├─ ";
        constexpr TStringBuf LIST_ITEM_LAST = " └─ ";

        template <class TIterator>
        bool isLastItem(TIterator endIt, TIterator it) {
            return (++it) == endIt;
        }
    }
}
