mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-16 05:47:06 +09:00
Almost done terminal emulator
This commit is contained in:
@@ -18,9 +18,11 @@ type TermWindow struct {
|
||||
|
||||
func NewTermWindow(x, y, w, h int, term *shell.Terminal) *TermWindow {
|
||||
tw := new(TermWindow)
|
||||
tw.View = new(View)
|
||||
tw.Terminal = term
|
||||
tw.X, tw.Y = x, y
|
||||
tw.Width, tw.Height = w, h
|
||||
tw.Resize(w, h)
|
||||
return tw
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user