[elinks-dev] suppress "Go to link" dialog

Sunil Kumar N freakytech at gmail.com
Sat Jul 15 15:42:22 MDT 2006


Hi,

I tried posting this request how to suppress "Go to link" dialobg box which
pops up everytime I navigate using numbers...couldn't wait long so jumped
into the code to check for myself to try tweak it. I have searched through
code and zeroed on try_prefix_key() function where a input_dialog() call is
made with "Go to link" title. I commented the call and passed d variable
directly to goto_line_number().. this works fine with links numbered 1-9 but
when more than one digit is entered it doesnt recognize the later digits
expect the first one and jumps...eg enter 64 it jumps to 6 :))
I later understood the full number is acquired in the dialog box and passed
onto goto_link_number() ...I also tried figuring out how to hide window but
enum type doesnt have any other type than WINDOW_NORMAL, WINDOW_TAB!!

I dont know how to capture user input at try_prefix_key() to bypass dialog
or I can find any option for a hidden window...could someone pllease
help/guide me with a solution!!

Thanks in advance
sunny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://linuxfromscratch.org/pipermail/elinks-dev/attachments/20060715/a6a3f50d/attachment.html 


More information about the elinks-dev mailing list