Shrink text in chat panes and add local chat capture
This commit is contained in:
		@@ -10,7 +10,7 @@ function lotj.chat.setup()
 | 
			
		||||
      autoWrap = false,
 | 
			
		||||
      color = "black",
 | 
			
		||||
      scrollBar = true,
 | 
			
		||||
      fontSize = 14,
 | 
			
		||||
      fontSize = 12,
 | 
			
		||||
    }, contentsContainer)
 | 
			
		||||
 | 
			
		||||
  -- Set the wrap at a few characters short of the full width to avoid the scroll bar showing over text
 | 
			
		||||
@@ -23,12 +23,14 @@ function lotj.chat.setup()
 | 
			
		||||
  end
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
function lotj.chat.routeMessage(type)
 | 
			
		||||
function lotj.chat.routeMessage(type, skipAllTab)
 | 
			
		||||
  selectCurrentLine()
 | 
			
		||||
  copy()
 | 
			
		||||
  lotj.chat[type]:cecho("<reset>"..getTime(true, "hh:mm:ss").." ")
 | 
			
		||||
  lotj.chat[type]:appendBuffer()
 | 
			
		||||
 | 
			
		||||
  lotj.chat.all:cecho("<reset>"..getTime(true, "hh:mm:ss").." ")
 | 
			
		||||
  lotj.chat.all:appendBuffer()
 | 
			
		||||
  if not skipAllTab then
 | 
			
		||||
    lotj.chat.all:cecho("<reset>"..getTime(true, "hh:mm:ss").." ")
 | 
			
		||||
    lotj.chat.all:appendBuffer()
 | 
			
		||||
  end
 | 
			
		||||
end
 | 
			
		||||
 
 | 
			
		||||
@@ -116,6 +116,7 @@ function lotj.layout.setup()
 | 
			
		||||
 | 
			
		||||
  local lowerTabList = {}
 | 
			
		||||
  table.insert(lowerTabList, {keyword = "all", label = "All"})
 | 
			
		||||
  table.insert(lowerTabList, {keyword = "local", label = "Local"})
 | 
			
		||||
  table.insert(lowerTabList, {keyword = "commnet", label = "CommNet"})
 | 
			
		||||
  table.insert(lowerTabList, {keyword = "clan", label = "Clan"})
 | 
			
		||||
  table.insert(lowerTabList, {keyword = "ooc", label = "OOC"})
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user