From 14f25992c39cc5e3ec04f3a053f38bee9c77cf4e Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Fri, 13 Dec 2019 12:05:24 +0100 Subject: Initial work on last-read-position feature Print dashes on the position we last left off in a chat window. So far the number of dashes is hardcoded, and the feature only works in chat windows. Regards https://github.com/profanity-im/profanity/issues/1238 --- src/ui/chatwin.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ui/chatwin.c') diff --git a/src/ui/chatwin.c b/src/ui/chatwin.c index d92f0de4..8faf4934 100644 --- a/src/ui/chatwin.c +++ b/src/ui/chatwin.c @@ -286,6 +286,7 @@ chatwin_incoming_msg(ProfChatWin *chatwin, ProfMessage *message, gboolean win_cr } } + win_insert_last_read_position_marker((ProfWin*)chatwin, chatwin->barejid); win_print_incoming(window, display_name, message); } -- cgit 1.4.1-2-gfad0