• Patch: Elm ME+ 2.5 PLalpha62 -> Elm ME+ 2.5 PLalpha63 [7/7] (3/4)

    From Kari Hurtta@21:1/5 to All on Wed Jan 3 13:53:51 2024
    [continued from previous message]

    *** 947,958 ****

    void StartStandout()
    {
    DPRINT(Debug,49, (&Debug, "StartStandout()\n"));

    enter_terminal_hook();

    SYNC(default_context);
    ! cur_changemode(&CUR_modes, pg_STANDOUT,0);
    }

    void EndStandout()
    --- 950,964 ----

    void StartStandout()
    {
    + int add = pg_STANDOUT;
    + int disable = pg_set_or_disable_flags(NULL,add);
    +
    DPRINT(Debug,49, (&Debug, "StartStandout()\n"));

    enter_terminal_hook();

    SYNC(default_context);
    ! cur_changemode(&CUR_modes, add,disable);
    }

    void EndStandout()
    ***************
    *** 968,979 ****

    void StartUnderline()
    {
    DPRINT(Debug,49, (&Debug, "StartUnderline()\n"));

    enter_terminal_hook();

    SYNC(default_context);
    ! cur_changemode(&CUR_modes, pg_UNDERLINE,0);
    }

    void EndUnderline()
    --- 974,988 ----

    void StartUnderline()
    {
    + int add = pg_UNDERLINE;
    + int disable = pg_set_or_disable_flags(NULL,add);
    +
    DPRINT(Debug,49, (&Debug, "StartUnderline()\n"));

    enter_terminal_hook();

    SYNC(default_context);
    ! cur_changemode(&CUR_modes, add,disable);
    }

    void EndUnderline()
    ***************
    *** 990,995 ****
    --- 999,1006 ----
    struct menu_context