diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2014-05-19 11:07:52 +0200 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2014-05-19 21:43:27 +0200 |
commit | 0b46ad4faaee1ce982a64413b57406e43cb83e88 (patch) | |
tree | 4ee402f445b0d4b22cf8c0e4d6af55672fdb40e3 /src/calcurse.h | |
parent | 990897b2f098f3ed898919e3e66c8830c2e3b450 (diff) | |
download | calcurse-0b46ad4faaee1ce982a64413b57406e43cb83e88.zip |
Avoid blank space after the last list box item
Automatically scroll down the list box when resizing creates some blank
space below the list of items.
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/calcurse.h')
-rw-r--r-- | src/calcurse.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/calcurse.h b/src/calcurse.h index cb083df..4b804c3 100644 --- a/src/calcurse.h +++ b/src/calcurse.h @@ -1100,7 +1100,9 @@ void wins_scrollwin_draw_deco(struct scrollwin *, int); void wins_scrollwin_display(struct scrollwin *); void wins_scrollwin_up(struct scrollwin *, int); void wins_scrollwin_down(struct scrollwin *, int); +int wins_scrollwin_is_visible(struct scrollwin *, unsigned); void wins_scrollwin_ensure_visible(struct scrollwin *, unsigned); +void wins_scrollwin_set_lower(struct scrollwin *, unsigned); void wins_resize(void); void wins_resize_panels(void); void wins_show(WINDOW *, const char *); |