… | |
… | |
89 | rxvt_pop_locale () |
89 | rxvt_pop_locale () |
90 | { |
90 | { |
91 | rxvt_set_locale (savelocale); |
91 | rxvt_set_locale (savelocale); |
92 | } |
92 | } |
93 | |
93 | |
94 | void |
|
|
95 | rxvt_term::make_current () const |
|
|
96 | { |
|
|
97 | SET_R (this); |
|
|
98 | rxvt_set_locale (locale); |
|
|
99 | set_environ (envv); |
|
|
100 | } |
|
|
101 | |
|
|
102 | #if ENABLE_COMBINING |
94 | #if ENABLE_COMBINING |
103 | class rxvt_composite_vec rxvt_composite; |
95 | class rxvt_composite_vec rxvt_composite; |
104 | |
96 | |
105 | text_t rxvt_composite_vec::compose (unicode_t c1, unicode_t c2) |
97 | text_t rxvt_composite_vec::compose (unicode_t c1, unicode_t c2) |
106 | { |
98 | { |
… | |
… | |
529 | rs[Rs_perl_lib] = 0; |
521 | rs[Rs_perl_lib] = 0; |
530 | rs[Rs_perl_eval] = 0; |
522 | rs[Rs_perl_eval] = 0; |
531 | } |
523 | } |
532 | } |
524 | } |
533 | #endif |
525 | #endif |
534 | rxvt_perl.init (); |
526 | rxvt_perl.init (this); |
535 | setlocale (LC_CTYPE, curlocale); // perl init destroys current locale |
|
|
536 | HOOK_INVOKE ((this, HOOK_INIT, DT_END)); |
527 | HOOK_INVOKE ((this, HOOK_INIT, DT_END)); |
537 | } |
528 | } |
538 | #endif |
529 | #endif |
539 | |
530 | |
540 | create_windows (argc, argv); |
531 | create_windows (argc, argv); |