mirror of
https://github.com/IllusionMan1212/gorc.git
synced 2026-10-24 02:12:33 +00:00
feat: message timestamps
* made it easier to styles and prefix messages * added timestamps to messages * added prefix and styles to server messages * append current date to host channel * fixed some styles issues
This commit is contained in:
+2
-2
@@ -123,8 +123,8 @@ func (s State) Update(msg tea.Msg) (State, tea.Cmd) {
|
||||
}
|
||||
|
||||
s.Inputs[i].Blur()
|
||||
s.Inputs[i].PromptStyle = NoStyle
|
||||
s.Inputs[i].TextStyle = NoStyle
|
||||
s.Inputs[i].PromptStyle = ui.DefaultStyle
|
||||
s.Inputs[i].TextStyle = ui.DefaultStyle
|
||||
}
|
||||
|
||||
return s, tea.Batch(cmds...)
|
||||
|
||||
Reference in New Issue
Block a user