aaronjanse / 3mux

Terminal multiplexer inspired by i3
MIT License
1.82k stars 46 forks source link

verify y value in setChar #118

Closed aaronjanse closed 3 years ago

aaronjanse commented 3 years ago

Test case:

  1. Create two panes, one above the other
  2. Move to the top pane
  3. Ensure you're using zsh (for consistency, since different shells do different things at the end of program output)
  4. Run seq 1 100
  5. Observe that after this PR, the top pane's bottom border is not erased

In the future, we should figure out what's calling setChar with unwanted parameters, but even in such a scenario, we don't want to present the user with broken rendering.