Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: error when window width is extremely small
The function window-max-chars-per-line may return -1 if the width of the current window is extremely small. When -1 is passed as the width value to make-list, it results in an error. We must ensure that the value is non-negative before passing it.
- Loading branch information