Open danielfleischer opened 3 years ago
What do you mean window bigger than the graphics ? When agenda is trying to write beyond terminal? If so, I think it needs some test to check whether we're outside the printable area.
The window width is wider than the calendar and when the mouse wonders to the empty space on the right there's an exception. I tested it with 2 terminal applications (Mac built-in and iTerm2).
Got it! And I confirm I got the same behavior. I'll try to make a fix.
It seems there are some limit in the x direction which shoudl be < 95 (just run the terminal.py file to chekc). but I cannot find the relevant documentation to know where this lmimit comes from.
So in the end I should use SGR 1006 protocol (https://invisible-island.net/xterm/ctlseqs/ctlseqs.html#Mouse%20Tracking) to avoid any problem.
When the window is bigger than the graphics, I get an exception:
when cursor goes to the right side, outside the region of the calendar.