username in input is bold now
This commit is contained in:
parent
f5ebd3b5f1
commit
f1f6265f6d
1 changed files with 1 additions and 0 deletions
1
main.go
1
main.go
|
|
@ -147,6 +147,7 @@ func (app *App) AppendSystemMessage(format string, args ...any) {
|
|||
|
||||
func (app *App) SetNick(nick string) {
|
||||
app.input.SetPrompt(fmt.Sprintf("%s: ", nick))
|
||||
app.input.Prompt.Attribute = vaxis.AttrBold
|
||||
app.nick = nick
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue