mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-15 21:37:09 +09:00
Reorganize info bar
This commit is contained in:
@@ -13,7 +13,7 @@ import (
|
||||
)
|
||||
|
||||
type InfoWindow struct {
|
||||
*info.Bar
|
||||
*info.InfoBuf
|
||||
*View
|
||||
|
||||
defStyle tcell.Style
|
||||
@@ -23,9 +23,9 @@ type InfoWindow struct {
|
||||
y int
|
||||
}
|
||||
|
||||
func NewInfoWindow(b *info.Bar) *InfoWindow {
|
||||
func NewInfoWindow(b *info.InfoBuf) *InfoWindow {
|
||||
iw := new(InfoWindow)
|
||||
iw.Bar = b
|
||||
iw.InfoBuf = b
|
||||
iw.View = new(View)
|
||||
|
||||
iw.defStyle = config.DefStyle
|
||||
|
||||
Reference in New Issue
Block a user