BUG: DEC private mode saving does not save low state after saving high state

Emanuele Giaquinta emanuele.giaquinta at gmail.com
Fri Apr 13 11:26:05 CEST 2012


On Thu, Apr 12, 2012 at 07:46:03PM -0400, Patrick Hemmer wrote:
> This should solve it
> 
> --- src/command.C.orig    2012-04-12 19:24:44.669230581 -0400
> +++ src/command.C    2012-04-12 19:43:08.592004444 -0400
> @@ -3581,7 +3581,10 @@
> 
>    if (mode == 's')
>      {
> -      SavedModes |= (priv_modes & bit);
> +      if(priv_modes & bit)
> +        SavedModes |= bit;
> +      else
> +        SavedModes &= ~bit;
>        return -1;
>      }
>    else

Thanks, applied.

Emanuele



More information about the rxvt-unicode mailing list