We need to monitor the line editor and set our chat state to paused if the user has text but hasn't typed in a while. Suggest stealing code/logic from PSI.
Git commit ceca8bc2dc4c56b382749a5a42fbdf060fbfcd1a by Rohan Garg. Committed on 21/03/2012 at 15:33. Pushed by garg into branch 'master'. Set ChannelChatState as Paused when the user has not typed for the past 5 seconds REVIEW: 104354 M +14 -3 lib/chat-widget.cpp M +1 -0 lib/chat-widget.h http://commits.kde.org/telepathy-text-ui/ceca8bc2dc4c56b382749a5a42fbdf060fbfcd1a