I seem to already be trying to check for cursor under search bar in bring_cursor_of_cursor_pane_in_view. Make that work.
5AST5334ARX53SIFQG6QCWWYIRO7AHQK5YOB5YKHXRCTN7R73GLAC
63GT45OBGJFJWASZ3B3HGOUAF6R3H3PBOTAJ2C7PQYZJVI2CZEXQC
W5D22DQ5HRM3SGVEDY3E57Q6UPXGYLPQUJEVYMP2SU5KKG4J5K2AC
BULPIBEGL7TMK6CVIE7IS7WGAHGOSUJBGJSFQK542MOWGHP2ADQQC
3EQZGRICHPHDMY2THLKGTS63G2L3CDED2HILRAY425Z55A26YQXAC
OTIBCAUJ3KDQJLVDN3A536DLZGNRYMGJLORZVR3WLCGXGO6UGO6AC
D7D6T2F3FRMONF627F2NV227T5KTZ4FOHZKROEIIA236U7FVASTQC
GLYCXWBJBU7DOX5IYFZHT3ITXLLVKN5QK7W3QNHKW2EKRMFIUYLAC
2L5MEZV344TOZLVY3432RHJFIRVXFD6O3GWLL5O4CV66BGAFTURQC
A76AOSKCKOQL5ZGYGWCGNRCMKLUTKGCDVJ5G3ELTIVHZ7OFH35MQC
-- ensure cursor isn't behind search bar
if Cursor_pane.col >= 1 then
local pane = Surface[Cursor_pane.col][Cursor_pane.row]
if pane then
App.draw()
if pane.shadow_cursor_y > App.screen.height - 2*pane.line_height then
Display_settings.y = Display_settings.y + pane.line_height
end
Surface.cursor_on_screen_check = true
plan_draw()
end
end
Surface.cursor_on_screen_check = true
plan_draw()