Mercurial > ~mikael > mcabber > hg
view mcabber/mcabber/xmpp_s10n.h @ 2306:7afb9a0c6409
[PATCH 3/3] Clear input line when switching to vi mode
If vi_mode is set to 1 and the user leaves chat mode, clear the input
line. Existing text on the input line cannot be sent as a message and
will also not be evaluated as a vi command in this situation, so leaving
the text on the input line would be confusing.
author | Holger Weiß <holger@zedat.fu-berlin.de> |
---|---|
date | Fri, 24 Jul 2015 02:52:23 +0200 |
parents | e6d355e50d7a |
children |
line wrap: on
line source
#ifndef __MCABBER_XMPP_S10N_H__ #define __MCABBER_XMPP_S10N_H__ 1 #include <mcabber/events.h> gboolean evscallback_subscription(guint evcontext, const char *arg, gpointer userdata); #endif /* __MCABBER_XMPP_S10N_H__ */ /* vim: set et cindent cinoptions=>2\:2(0 ts=2 sw=2: For Vim users... */