mirror of
https://github.com/Tha14/toxic.git
synced 2025-06-29 21:36:46 +02:00
allow friendlist to scroll up and down if friends overflow the window
This commit is contained in:
@ -42,12 +42,12 @@ bool valid_nick(uint8_t *nick);
|
||||
*/
|
||||
|
||||
/* Adds char to buffer at pos */
|
||||
void add_char_to_buf(wint_t ch, wchar_t *buf, size_t *pos, size_t *len);
|
||||
void add_char_to_buf(wchar_t *buf, size_t *pos, size_t *len, wint_t ch);
|
||||
|
||||
/* Deletes the character before pos */
|
||||
void del_char_buf_bck(wchar_t *buf, size_t *pos, size_t *len);
|
||||
|
||||
/* Deletes the character at pos */
|
||||
/* Deletes the character after pos */
|
||||
void del_char_buf_frnt(wchar_t *buf, size_t *pos, size_t *len);
|
||||
|
||||
/* nulls buf and sets pos and len to 0 */
|
||||
|
Reference in New Issue
Block a user