/ Check-in [c9eba2f7]
Login

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 | SQL archive
Timelines: family | ancestors | descendants | both | memdb-warning
Files: files | file ages | folders
SHA1: c9eba2f7be468ae7fc843ffd5b09bd062ee311c3
User & Date: drh 2014-02-10 19:36:06
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: fe284afe 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: c9eba2f7 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: 0fbc0fce user: drh tags: memdb-warning
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/shell.c.

  3512   3512   }
  3513   3513   static void outputNormal(void){
  3514   3514     SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE),
  3515   3515            FOREGROUND_RED|FOREGROUND_GREEN|FOREGROUND_BLUE);
  3516   3516   }
  3517   3517   #else
  3518   3518   static void outputRed(void){
  3519         -  printf("\033[1;31m");
         3519  +  printf("\033[1m");
  3520   3520   }
  3521   3521   static void outputNormal(void){
  3522   3522     printf("\033[0m");
  3523   3523   }
  3524   3524   #endif
  3525   3525   
  3526   3526   /*