PASNDSN4LJPVE6BO7HR6H3NJZPYMQUYKU4Y26I674CNJTW524TNQC
RVCCMLKSWA4SDFF64E2X74IK3GIOEK2XWFNSPWR7SL75GEM3E5TQC
BVL72CM4WMKHMENSC4JEWEQ5XTB5CXQ5U6BQHTOIL7VJSVZ6DWFAC
J3ER7DFO2TXYUMJAXZUFEHQNLFDNIXSYDTE7HEFGQ2RYB3A6RFPAC
TB2YCOSU2EQBYTKB3GILUYTWZFP4KBADEUTUPAIETMCPGYJMPHCAC
OTIBCAUJ3KDQJLVDN3A536DLZGNRYMGJLORZVR3WLCGXGO6UGO6AC
MO4B3HJQL7KU2CETG74EV367YPREQN3Z5DJP2MNHITVW2KQRXRCAC
DYPXQWZ6RE4WQWYRMWLI4JVNTEH637CDVLG5RQ3D5KNPZ73C7UHAC
LW6UME22NIRDLYNQDP47SLYT2ZEBD4HMHQOJNXJRRXQYVMNF4IGAC
23W3KW6BH355C3JYD7LF65FOZENQWWO5PUEAXEBZOV7TMTOQPZQQC
CZY3IDERLI6MTKKKMX6QLLERSPM2ZJ57NGQRKILJBM7S5PYPQ3XAC
UWSWUQZGEXRJ7C6U2XEFFM3RXQIMNLNIEZFLPIPMYP62M44KTBHAC
L32R5DALHPK75E2V7C5QGKR4AH6FVOLGTLMVKVQ36VA5ZKCID2JAC
JTDPO5WTXYGCACS6OGKLW4NV2XEDOVZK3UED3FAWCB242ZPGLKWAC
function should_update_screen_top(column_index, pane_index, pane, options)
if column_index ~= Cursor_pane.col then return true end
if pane_index ~= Cursor_pane.row then return true end
-- update the cursor pane either if it's not editable, or
-- if it was explicitly requested
if not pane.editable then return true end
if options == nil then return true end
if not options.ignore_editable_cursor_pane then return true end
if not Editable_cursor_pane_updated_screen_top then return true end
return false
-- titles are optional and so affect the height of the pane
function add_title(pane, title)
pane.title = title
pane._height = nil
function should_show_pane(pane, sy)
return overlap(sy, sy + Margin_above + height(pane) + Margin_below, Display_settings.y, Display_settings.y + App.screen.height - Header_height)
function should_update_screen_top(column_index, pane_index, pane, options)
if column_index ~= Cursor_pane.col then return true end
if pane_index ~= Cursor_pane.row then return true end
-- update the cursor pane either if it's not editable, or
-- if it was explicitly requested
if not pane.editable then return true end
if options == nil then return true end
if not options.ignore_editable_cursor_pane then return true end
if not Editable_cursor_pane_updated_screen_top then return true end
return false
function should_show_column(sx)
return overlap(sx-Margin_left, sx+Display_settings.column_width+Margin_right, Display_settings.x, Display_settings.x + App.screen.width)
end
function should_show_pane(pane, sy)
return overlap(sy, sy + Margin_above + height(pane) + Margin_below, Display_settings.y, Display_settings.y + App.screen.height - Header_height)
end