If a user zoomes in far enough on their screen the lines of the slide will eventually "wrap" down to the next line. This causes what looks likes gaps between each lines, and poor readability.
I think that the best solution to handle this is a warning. If DSS detects that max_x < Slide->x instead of making a call to printw for Slide->content we'll make a call like this:
printw("Terminal zoom/size error: You terminal window is too small to display the slide. Try zooming out or resizing the window");
Upon zooming out the loop would refresh, and if the max_x < Slide->x logic returns false the user will then see the properly displayed slide.
Bug: Slides break with excessive zooming
If a user zoomes in far enough on their screen the lines of the slide will eventually "wrap" down to the next line. This causes what looks likes gaps between each lines, and poor readability.
I think that the best solution to handle this is a warning. If DSS detects that
max_x < Slide->x
instead of making a call to printw forSlide->content
we'll make a call like this:printw("Terminal zoom/size error: You terminal window is too small to display the slide. Try zooming out or resizing the window");
Upon zooming out the loop would refresh, and if the
max_x < Slide->x
logic returns false the user will then see the properly displayed slide.