jdict

command line tool for looking up terms in yomidict dictionaries
git clone anongit@rnpnr.xyz:jdict.git
Log | Files | Refs | Feed | README | LICENSE

config.def.h (680B)


      1 /* See LICENSE for license details. */
      2 
      3 /* dir where unzipped yomidicts are stored */
      4 static s8 prefix = s8("/usr/share/yomidicts");
      5 
      6 /* field separator for output printing */
      7 static s8 fsep = s8("\t");
      8 
      9 /* repl prompt and quit strings */
     10 static s8 repl_prompt = s8("\033[32;1m入力:\033[0m ");
     11 static s8 repl_quit   = s8("\n\033[36m(=^ᆺ^)ノ バイバイ~\033[0m");
     12 
     13 /* default yomidicts to search */
     14 Dict default_dict_map[] = {
     15 	/* folder name           display name */
     16 	{.rom = s8("daijirin"),  .name = s8("【三省堂 スーパー大辞林】")},
     17 	{.rom = s8("daijisen"),  .name = s8("【大辞泉】")},
     18 	{.rom = s8("koujien"),   .name = s8("【広辞苑】")},
     19 };