mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
Add -W,--window-size-chars, and foot.ini:initial-window-size-chars
* Add -W,--window-size-chars command line option * Add initial-window-size-chars foot.ini option * Add -w,--window-size-pixels command line option * Add initial-window-size-pixels foot.ini option * Deprecate -g,--geometry command line option in favor of -w,--window-size-pixels * Deprecate geometry option in foot.ini in favor of initial-window-size-pixels
This commit is contained in:
parent
fa6ad0f030
commit
eb6737ca25
10 changed files with 199 additions and 57 deletions
|
|
@ -14,3 +14,11 @@ struct user_notification {
|
|||
};
|
||||
|
||||
typedef tll(struct user_notification) user_notifications_t;
|
||||
|
||||
static inline void
|
||||
user_notifications_free(user_notifications_t *notifications)
|
||||
{
|
||||
tll_foreach(*notifications, it)
|
||||
free(it->item.text);
|
||||
tll_free(*notifications);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue