ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/command.C
(Generate patch)

Comparing rxvt-unicode/src/command.C (file contents):
Revision 1.426 by root, Wed Nov 5 13:49:36 2008 UTC vs.
Revision 1.428 by root, Wed Nov 5 16:17:23 2008 UTC

3400 break; 3400 break;
3401 case URxvt_Color_IT: 3401 case URxvt_Color_IT:
3402 process_color_seq (op, Color_IT, str, resp); 3402 process_color_seq (op, Color_IT, str, resp);
3403 break; 3403 break;
3404#endif 3404#endif
3405 case URxvt_Color_border:
3406 process_color_seq (op, Color_border, str, resp);
3407 break;
3405#if ENABLE_TRANSPARENCY 3408#if ENABLE_TRANSPARENCY
3406 case URxvt_Color_tint: 3409 case URxvt_Color_tint:
3407 process_color_seq (op, Color_tint, str, resp); 3410 process_color_seq (op, Color_tint, str, resp);
3408 { 3411 {
3409 bool changed = false; 3412 bool changed = false;
3657 3660
3658 scr_touch (true); 3661 scr_touch (true);
3659 break; 3662 break;
3660#endif 3663#endif
3661 case 1048: /* alternative cursor save */ 3664 case 1048: /* alternative cursor save */
3662 case 1049:
3663 if (option (Opt_secondaryScreen)) 3665 if (option (Opt_secondaryScreen))
3664 if (mode == 0) 3666 if (mode == 0)
3665 scr_cursor (RESTORE); 3667 scr_cursor (RESTORE);
3666 else if (mode == 1) 3668 else if (mode == 1)
3667 scr_cursor (SAVE); 3669 scr_cursor (SAVE);
3743 case 1011: /* scroll to bottom on key press */ 3745 case 1011: /* scroll to bottom on key press */
3744 set_option (Opt_scrollTtyKeypress, state); 3746 set_option (Opt_scrollTtyKeypress, state);
3745 break; 3747 break;
3746 case 1047: /* secondary screen w/ clearing last */ 3748 case 1047: /* secondary screen w/ clearing last */
3747 if (option (Opt_secondaryScreen)) 3749 if (option (Opt_secondaryScreen))
3748 if (current_screen != PRIMARY) 3750 if (!state)
3749 scr_erase_screen (2); 3751 scr_erase_screen (2);
3750 3752
3751 scr_change_screen (state); 3753 scr_change_screen (state);
3752 break; 3754 break;
3753 case 1049: /* secondary screen w/ clearing first */ 3755 case 1049: /* secondary screen w/ clearing first */
3756 if (state)
3757 scr_cursor (SAVE);
3758
3754 scr_change_screen (state); 3759 scr_change_screen (state);
3755 if (option (Opt_secondaryScreen)) 3760
3756 if (current_screen != PRIMARY) 3761 if (state)
3757 scr_erase_screen (2); 3762 scr_erase_screen (2);
3763 else
3764 scr_cursor (RESTORE);
3758 break; 3765 break;
3759 default: 3766 default:
3760 break; 3767 break;
3761 } 3768 }
3762 } 3769 }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines