mirror of
https://github.com/Hopiu/micro.git
synced 2026-04-08 08:50:57 +00:00
fixing test, was using incorrect assignment syntax
This commit is contained in:
parent
71ee042218
commit
968d5be74e
1 changed files with 1 additions and 1 deletions
|
|
@ -87,7 +87,7 @@ func (m *Messenger) getBuffer() *Buffer {
|
|||
|
||||
// Message sends a message to the user
|
||||
func (m *Messenger) Message(msg ...interface{}) {
|
||||
displayMessage = fmt.Sprint(msg...)
|
||||
displayMessage := fmt.Sprint(msg...)
|
||||
// only display a new message if there isn't an active prompt
|
||||
// this is to prevent overwriting an existing prompt to the user
|
||||
if m.hasPrompt == false {
|
||||
|
|
|
|||
Loading…
Reference in a new issue