return m.chat.Render()
}
+// ViewWithout returns the chat view without the leaf lines of the messages in
+// skip.
+func (m *Memory) ViewWithout(skip map[int]bool) string {
+ m.mutex.Lock()
+ defer m.mutex.Unlock()
+
+ return m.chat.RenderWithout(skip)
+}
+
// Len returns the number of messages in the log.
func (m *Memory) Len() int {
m.mutex.Lock()