mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-12 08:40:19 +00:00
Add marker-line functionality for scrollback, instant seek.
Fixes #662.
This commit is contained in:
@@ -528,6 +528,8 @@ new_ircwindow (server *serv, char *name, int type, int focus)
|
||||
irc_init (sess);
|
||||
chanopt_load (sess);
|
||||
scrollback_load (sess);
|
||||
if (sess->scrollwritten && sess->scrollback_replay_marklast)
|
||||
sess->scrollback_replay_marklast (sess);
|
||||
plugin_emit_dummy_print (sess, "Open Context");
|
||||
|
||||
return sess;
|
||||
|
||||
@@ -459,6 +459,7 @@ typedef struct session
|
||||
int doing_who:1; /* /who sent on this channel */
|
||||
int done_away_check:1; /* done checking for away status changes */
|
||||
gtk_xtext_search_flags lastlog_flags;
|
||||
void (*scrollback_replay_marklast) (struct session *sess);
|
||||
} session;
|
||||
|
||||
struct msproxy_state_t
|
||||
|
||||
@@ -608,6 +608,8 @@ inbound_ujoin (server *serv, char *chan, char *nick, char *ip,
|
||||
{
|
||||
chanopt_load (sess);
|
||||
scrollback_load (sess);
|
||||
if (sess->scrollwritten && sess->scrollback_replay_marklast)
|
||||
sess->scrollback_replay_marklast (sess);
|
||||
}
|
||||
|
||||
fe_set_channel (sess);
|
||||
|
||||
Reference in New Issue
Block a user