… | |
… | |
111 | BOOL (Rs_scrollWithBuffer, "scrollWithBuffer", "sw", Opt_scrollWithBuffer, 0, "scroll-with-buffer"), |
111 | BOOL (Rs_scrollWithBuffer, "scrollWithBuffer", "sw", Opt_scrollWithBuffer, 0, "scroll-with-buffer"), |
112 | #if ENABLE_TRANSPARENCY |
112 | #if ENABLE_TRANSPARENCY |
113 | BOOL (Rs_transparent, "inheritPixmap", "ip", Opt_transparent, 0, "inherit parent pixmap"), |
113 | BOOL (Rs_transparent, "inheritPixmap", "ip", Opt_transparent, 0, "inherit parent pixmap"), |
114 | BOOL (Rs_transparent, "transparent", "tr", Opt_transparent, 0, "inherit parent pixmap"), |
114 | BOOL (Rs_transparent, "transparent", "tr", Opt_transparent, 0, "inherit parent pixmap"), |
115 | STRG (Rs_color + Color_tint, "tintColor", "tint", "color", "tint color"), |
115 | STRG (Rs_color + Color_tint, "tintColor", "tint", "color", "tint color"), |
116 | STRG (Rs_shade, "shading", "sh", "%", "shade background by x %."), |
116 | STRG (Rs_shade, "shading", "sh", "number", "shade background by number %."), |
117 | #endif |
117 | #endif |
118 | #if OFF_FOCUS_FADING |
118 | #if OFF_FOCUS_FADING |
119 | STRG (Rs_fade, "fading", "fade", "%", "fade colors x% percent when rxvt-unicode is losing focus"), |
119 | STRG (Rs_fade, "fading", "fade", "number", "fade colors by number % when losing focus"), |
120 | STRG (Rs_color + Color_fade, "fadeColor", "fadecolor", "color", "target color for off-focus fading"), |
120 | STRG (Rs_color + Color_fade, "fadeColor", "fadecolor", "color", "target color for off-focus fading"), |
121 | #endif |
121 | #endif |
122 | BOOL (Rs_utmpInhibit, "utmpInhibit", "ut", Opt_utmpInhibit, 0, "utmp inhibit"), |
122 | BOOL (Rs_utmpInhibit, "utmpInhibit", "ut", Opt_utmpInhibit, 0, "utmp inhibit"), |
123 | #ifndef NO_BELL |
123 | #ifndef NO_BELL |
124 | # if ENABLE_FRILLS |
124 | # if ENABLE_FRILLS |
… | |
… | |
425 | assert (optList[i].opt != NULL); |
425 | assert (optList[i].opt != NULL); |
426 | #endif |
426 | #endif |
427 | len += 4 + strlen (optList[i].opt) + (optList_isBool (i) ? 2: 0); |
427 | len += 4 + strlen (optList[i].opt) + (optList_isBool (i) ? 2: 0); |
428 | col += len; |
428 | col += len; |
429 | if (col > 79) |
429 | if (col > 79) |
|
|
430 | { |
430 | { /* assume regular width */ |
431 | /* assume regular width */ |
431 | rxvt_log ("\n"); |
432 | rxvt_log ("\n"); |
432 | col = 1 + len; |
433 | col = 1 + len; |
433 | } |
434 | } |
434 | |
435 | |
435 | rxvt_log (" [-%s%s", (optList_isBool (i) ? "/+" : ""), optList[i].opt); |
436 | rxvt_log (" [-%s%s", (optList_isBool (i) ? "/+" : ""), optList[i].opt); |
… | |
… | |
553 | |
554 | |
554 | rs[optList[entry].doff] = flag == resval_on ? argv[++i] : resval_undef; |
555 | rs[optList[entry].doff] = flag == resval_on ? argv[++i] : resval_undef; |
555 | } |
556 | } |
556 | } |
557 | } |
557 | else |
558 | else |
|
|
559 | { |
558 | { /* boolean value */ |
560 | /* boolean value */ |
559 | set_option (optList[entry].index, flag == resval_on); |
561 | set_option (optList[entry].index, flag == resval_on); |
560 | |
562 | |
561 | if (optList[entry].doff != -1) |
563 | if (optList[entry].doff != -1) |
562 | rs[optList[entry].doff] = flag; |
564 | rs[optList[entry].doff] = flag; |
563 | } |
565 | } |