Update log buffer name as well

Using such fake path have some issues as mentioned in https://github.com/zyedidia/micro/pull/3791#discussion_r2176197355 comment
This commit is contained in:
blamedrop
2025-07-06 12:20:13 +02:00
committed by Dmytro Maluka
parent 532a229c57
commit 55a553041b

View File

@@ -11,7 +11,8 @@ var LogBufPane *BufPane
// InitGlobals initializes the log buffer and the info bar
func InitGlobals() {
InfoBar = NewInfoBar()
buffer.LogBuf = buffer.NewBufferFromString("", "Log", buffer.BTLog)
buffer.LogBuf = buffer.NewBufferFromString("", "", buffer.BTLog)
buffer.LogBuf.SetName("Log")
}
// GetInfoBar returns the infobar pane