mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 09:02:00 +00:00
Update reference file
This commit is contained in:
parent
8b9bb1d473
commit
54a9daa570
@ -1,5 +1,15 @@
|
||||
┏━━━┓
|
||||
┃ x ┃
|
||||
┡━━━┩
|
||||
1. │ [38;2;255;128;0m█[0m │
|
||||
1. │ [38;2;255;128;128m█[0m │
|
||||
└───┘
|
||||
┏━━━━━━━━━┳━━━━━━━━━━┓
|
||||
┃ 'Hello' ┃ x ┃
|
||||
┡━━━━━━━━━╇━━━━━━━━━━┩
|
||||
1. │ Hello │ [38;2;255;128;128m█[0m test [38;2;255;128;128m█[0m │
|
||||
└─────────┴──────────┘
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ visibleWidth(format('[38;2;{0};{1};{2}m█[0m', 255, 128, 128)) ┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
1. │ 22 │
|
||||
└─────────────────────────────────────────────────────┘
|
||||
|
@ -1,3 +1,3 @@
|
||||
SELECT format('\x1b[38;2;{0};{1};{2}m█\x1b[0m', 255, 128, 128) AS x;
|
||||
SELECT 'Hello', format('\x1b[38;2;{0};{1};{2}m█\x1b[0m test \x1b[38;2;{0};{1};{2}m█\x1b[0m', 255, 128, 128) AS x
|
||||
SELECT visibleWidth(format('\x1b[38;2;{0};{1};{2}m█\x1b[0m',255,128,128));
|
||||
SELECT format('\x1b[38;2;{0};{1};{2}m█\x1b[0m', 255, 128, 128) AS x FORMAT Pretty;
|
||||
SELECT 'Hello', format('\x1b[38;2;{0};{1};{2}m█\x1b[0m test \x1b[38;2;{0};{1};{2}m█\x1b[0m', 255, 128, 128) AS x FORMAT Pretty;
|
||||
SELECT visibleWidth(format('\x1b[38;2;{0};{1};{2}m█\x1b[0m',255,128,128)) FORMAT Pretty;
|
||||
|
Loading…
Reference in New Issue
Block a user