20.7.1.4189

```
clickhouse-client -m

:) select 1
:-] ---abbbb
:-] , 2 b
:-] ;

SELECT 1

┌─1─┐
│ 1 │
└───┘
```

19.13.7.57
```
clickhouse-client -m
select 1
:-] --xxxx
:-] ,2 b
:-] ;

SELECT
    1,
    2 AS b

┌─1─┬─b─┐
│ 1 │ 2 │
└───┴───┘
```
{
    String line;
    bool need_next_line = false;
    while (auto status = readOneLine(need_next_line ? second_prompt : first_prompt))
    {
        if (status == RESET_LINE)
        {
            line.clear();
            need_next_line = false;
            continue;
        }
        if (input.empty())
        {
            if (!line.empty() && !multiline && !hasInputData())
                break;
            else
                continue;
        }
#if !defined(ARCADIA_BUILD) 
        const char * has_extender = nullptr;
        for (const auto * extender : extenders)
        {
            if (input.ends_with(extender))
            {
                has_extender = extender;
                break;
            }
        }