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.425 by root, Wed Nov 5 12:28:15 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;
3593 { 5, PrivMode_rVideo }, // DECSCNM 3596 { 5, PrivMode_rVideo }, // DECSCNM
3594 { 6, PrivMode_relOrigin }, // DECOM 3597 { 6, PrivMode_relOrigin }, // DECOM
3595 { 7, PrivMode_Autowrap }, // DECAWM 3598 { 7, PrivMode_Autowrap }, // DECAWM
3596 // 8, auto-repeat keys // DECARM 3599 // 8, auto-repeat keys // DECARM
3597 { 9, PrivMode_MouseX10 }, 3600 { 9, PrivMode_MouseX10 },
3598 // 18, 19 printing-related 3601 // 18 end FF to printer after print screen
3602 // 19 Print screen prints full screen/scorll region
3599 { 25, PrivMode_VisibleCursor }, // cnorm/cvvis/civis 3603 { 25, PrivMode_VisibleCursor }, // cnorm/cvvis/civis
3600#ifdef scrollBar_esc 3604#ifdef scrollBar_esc
3601 { scrollBar_esc, PrivMode_scrollBar }, 3605 { scrollBar_esc, PrivMode_scrollBar },
3602#endif 3606#endif
3603 { 35, PrivMode_ShiftKeys }, // rxvt extension 3607 { 35, PrivMode_ShiftKeys }, // rxvt extension
3656 3660
3657 scr_touch (true); 3661 scr_touch (true);
3658 break; 3662 break;
3659#endif 3663#endif
3660 case 1048: /* alternative cursor save */ 3664 case 1048: /* alternative cursor save */
3661 case 1049:
3662 if (option (Opt_secondaryScreen)) 3665 if (option (Opt_secondaryScreen))
3663 if (mode == 0) 3666 if (mode == 0)
3664 scr_cursor (RESTORE); 3667 scr_cursor (RESTORE);
3665 else if (mode == 1) 3668 else if (mode == 1)
3666 scr_cursor (SAVE); 3669 scr_cursor (SAVE);
3742 case 1011: /* scroll to bottom on key press */ 3745 case 1011: /* scroll to bottom on key press */
3743 set_option (Opt_scrollTtyKeypress, state); 3746 set_option (Opt_scrollTtyKeypress, state);
3744 break; 3747 break;
3745 case 1047: /* secondary screen w/ clearing last */ 3748 case 1047: /* secondary screen w/ clearing last */
3746 if (option (Opt_secondaryScreen)) 3749 if (option (Opt_secondaryScreen))
3747 if (current_screen != PRIMARY) 3750 if (!state)
3748 scr_erase_screen (2); 3751 scr_erase_screen (2);
3749 3752
3750 scr_change_screen (state); 3753 scr_change_screen (state);
3751 break; 3754 break;
3752 case 1049: /* secondary screen w/ clearing first */ 3755 case 1049: /* secondary screen w/ clearing first */
3756 if (state)
3757 scr_cursor (SAVE);
3758
3753 scr_change_screen (state); 3759 scr_change_screen (state);
3754 if (option (Opt_secondaryScreen)) 3760
3755 if (current_screen != PRIMARY) 3761 if (state)
3756 scr_erase_screen (2); 3762 scr_erase_screen (2);
3763 else
3764 scr_cursor (RESTORE);
3757 break; 3765 break;
3758 default: 3766 default:
3759 break; 3767 break;
3760 } 3768 }
3761 } 3769 }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines