mirror of
https://github.com/profanity-im/profanity.git
synced 2024-11-03 19:37:16 -05:00
Statusbar render at start of small window
This commit is contained in:
parent
b0e70e6caa
commit
8718b368a1
@ -263,6 +263,9 @@ status_bar_draw(void)
|
|||||||
_status_bar_draw_maintext(pos);
|
_status_bar_draw_maintext(pos);
|
||||||
|
|
||||||
pos = getmaxx(stdscr) - _tabs_width();
|
pos = getmaxx(stdscr) - _tabs_width();
|
||||||
|
if (pos < 0) {
|
||||||
|
pos = 0;
|
||||||
|
}
|
||||||
gint max_tabs = prefs_get_statusbartabs();
|
gint max_tabs = prefs_get_statusbartabs();
|
||||||
int i = 1;
|
int i = 1;
|
||||||
for (i = 1; i <= max_tabs; i++) {
|
for (i = 1; i <= max_tabs; i++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user