Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | On unix, make the "transient in-memory database" text bold, but not red. Leave the text read on windows. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | memdb-warning |
Files: | files | file ages | folders |
SHA1: |
c9eba2f7be468ae7fc843ffd5b09bd06 |
User & Date: | drh 2014-02-10 19:36:06.410 |
Context
2014-02-10
| ||
19:59 | Add the ".save" command as an alias for ".backup". Improvements to the way font changes are implemented on the in-memory database warning. (Closed-Leaf check-in: fe284afe73 user: drh tags: memdb-warning) | |
19:36 | On unix, make the "transient in-memory database" text bold, but not red. Leave the text read on windows. (check-in: c9eba2f7be user: drh tags: memdb-warning) | |
19:27 | In the command-line shell, on the banner, warn about the use of a transient in-memory database in bold red text. (check-in: 0fbc0fcec1 user: drh tags: memdb-warning) | |
Changes
Changes to src/shell.c.
︙ | ︙ | |||
3512 3513 3514 3515 3516 3517 3518 | } static void outputNormal(void){ SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), FOREGROUND_RED|FOREGROUND_GREEN|FOREGROUND_BLUE); } #else static void outputRed(void){ | | | 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 | } static void outputNormal(void){ SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), FOREGROUND_RED|FOREGROUND_GREEN|FOREGROUND_BLUE); } #else static void outputRed(void){ printf("\033[1m"); } static void outputNormal(void){ printf("\033[0m"); } #endif /* |
︙ | ︙ |