Commit 54a63ad8 authored by Deucе's avatar Deucе 👌🏾
Browse files

Allow showbuf buffers to be placed up against the status line.

parent 0bd86726
Pipeline #1533 passed with stage
in 10 minutes and 12 seconds
......@@ -2692,8 +2692,8 @@ void showbuf(int mode, int left, int top, int width, int height, char *title, ch
if(api->mode&UIFC_MOUSE)
title_len+=6;
if((unsigned)(top+height)>api->scrn_len-3)
height=(api->scrn_len-3)-top;
if((unsigned)(top+height)>=api->scrn_len)
height = api->scrn_len - top;
if(!width || (unsigned)width<title_len+6)
width=title_len+6;
if((unsigned)width>api->scrn_width)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment