FS#146 - fl command no longer functioning properly with 'set keycmd ='
Attached to Project:
Uzbl
Opened by skottish (skottish) - 2009-12-09 02:41:24 AM
Last edited by Anonymous Submitter - 2009-12-15 03:04:05 PM
Opened by skottish (skottish) - 2009-12-09 02:41:24 AM
Last edited by Anonymous Submitter - 2009-12-15 03:04:05 PM
|
DetailsSetting 'set keycmd =' at the end of LOAD_START no longer functions as the old code did:
set load_start_handler = chain 'set status_message = <span foreground="khaki">wait</span>' 'set keycmd =' My first attempt at a new version was this: @on_event LOAD_START chain '@set_status <span foreground="khaki">wait</span>' 'set keycmd =' When issuing fl everything seems to work properly: the link is followed and the command bar clears. But when a new command is issued, the fl<some_number> line reappears. The following code seems to work better: @on_event LOAD_START chain '@set_status <span foreground="khaki">wait</span>' 'event KEYCMD_STRIP_WORD' There are cases where, and I'm having trouble reproducing them, backspacing to the end of the new command would send uzbl to some link somewhere on the page. As well, with the new version of the LOAD_START code, ESC does not clear the numbers on screen if I choose not to follow a link. I've seen the behavior in both 2009.11.30 and git on Arch Linux. |
This task depends upon
Closed by Anonymous Submitter
2009-12-15 03:04:05 PM
Reason for closing: Fixed
Additional comments about closing: Pushed fix to my master repo, awaiting pull.
2009-12-15 03:04:05 PM
Reason for closing: Fixed
Additional comments about closing: Pushed fix to my master repo, awaiting pull.
Uzbl.run('event SET_KEYCMD');
Edit: Pushed a fix to my master repo http://github.com/mason-larobina/uzbl/commit/77e2678988494be1146ab6141f547fa64b8401b7