/
clang
/
sqlite
Обзор
Документация
Войти
/
clang
/
sqlite
Код
Вики
Пакеты
0
Релизы
0
Аналитика
version-3.50.2
test/vt100-a.sql
19 строк
531 B
drh
Teach the CLI that VT100-escape codes that do things like change font
21 мар 2025, 21:15
21 мар 2025, 21:15
7f4efdc
Код
Авторство
О чём код?
/* ** Run this script using the "sqlite3" command-line shell ** test test formatting of output text that contains ** vt100 escape sequences. */ .mode box -escape off CREATE TEMP TABLE t1(a,b,c); INSERT INTO t1 VALUES ('one','twotwotwo','thirty-three'), (unistr('\u001b[91mRED\u001b[0m'),'fourfour','fifty-five'), ('six','seven','eighty-eight'); .print With -escape off SELECT * FROM t1; .mode box -escape ascii .print With -escape ascii SELECT * FROM t1; .mode box -escape symbol .print With -escape symbol SELECT * FROM t1;