// update handles user input. func (tb *tbtag) update(dev device.Device) { pressed := dev.Update() if pressed.Resized { tb.resize(dev.Size()) } }
// update handles user input func (ld *ldtag) update(dev device.Device) { pressed := dev.Update() if pressed.Resized { ld.resize(dev.Size()) } }
// update handles user input. func (sf *sftag) update(dev device.Device) { pressed := dev.Update() if pressed.Resized { sf.resize(dev.Size()) } }