Count brackets in #{?...} so that nested conditional formats work, from

Daniel De Graaf.
This commit is contained in:
nicm
2015-10-27 09:28:31 +00:00
parent 17c2c4219d
commit 9952201ca7
2 changed files with 20 additions and 16 deletions

View File

@ -194,8 +194,6 @@ screen_resize_y(struct screen *s, u_int sy)
* Now just increase the history size, if possible, to take
* over the lines which are left. If history is off, delete
* lines from the top.
*
* XXX Should apply history limit?
*/
available = s->cy;
if (gd->flags & GRID_HISTORY)