Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command shouldn't look like chat message #332

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

millerlogic
Copy link
Contributor

@millerlogic millerlogic commented Jan 9, 2020

For #322

Rather than looking like

[chris] /help
-> Available commands:

it looks like

/help
-> Available commands:

Feel free to hold off or reject this, I just felt like giving it a try.

@@ -268,3 +268,7 @@ func (m CommandMsg) Args() []string {
func (m CommandMsg) Body() string {
return m.body
}

func (m CommandMsg) RenderSelf(cfg UserConfig) string {
return m.body
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about making this another color? I'm not sure.

Suggested change
return m.body
return cfg.Theme.ColorSys(m.body)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant