in src/pathpicker/screen_control.py [0:0]
def get_chrome_boundaries(self) -> Tuple[int, int, int, int]:
max_y, max_x = self.stdscr.getmaxyx()
min_x = (
CHROME_MIN_X
if self.scroll_bar.get_is_activated() or self.mode == X_MODE
else 0
)
max_y = self.helper_chrome.reduce_max_y(max_y)
max_x = self.helper_chrome.reduce_max_x(max_x)
# format of (MINX, MINY, MAXX, MAXY)
return min_x, CHROME_MIN_Y, max_x, max_y