[elinks-dev] Edit mode not exiting cleanly on "Back"
Yan Seiner
yan at seiner.com
Thu May 10 09:56:32 MDT 2007
Kalle Olavi Niemitalo wrote:
> Yan Seiner <yan at seiner.com> writes:
>
>
>> Thanks. Is this going to be fixed in CVS or should I just try and hack
>> around it?
>>
>
> I don't know if any ELinks developer is interested in fixing this
> bug. It has rather little impact and the fix is not obvious. If
> you post a patch, it may be accepted to Git (not CVS since 0.11.0).
>
OK, a simple fix:
in viewer/action.c, turn off insert mode for
case: ACT_MAIN_HISTORY_BACK:
{
ses->insert_mode = INSERT_MODE_OFF;
...
More of a hack rather than a fix as it leaves the same problem for all
the other actions, but it fixes it for this one special case.
--Yan
More information about the elinks-dev
mailing list