Skip to content
Myr

fix: handle setWindowTitleMsg and windowSizeMsg in eventLoop

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Ayman Bagabas · committed by Ayman Bagabas · parent 31c0299 · Browse files · 1 file+6 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Trailers

  • Fixes: ffa05021909e (Merge pull request #848 from wolfmagnate/fix-nested-cmd-order)

Diff stats

1 file+6 added−0 removed

  • other:+6 added−0 removed

1 file+6 added−0 removed

modified:tea.go+6 added
475 unmodified lines
476477 case sequenceMsg:478 go p.execSequenceMsg(msg)479 continue480481 case setWindowTitleMsg:482 p.SetWindowTitle(string(msg))483484 case windowSizeMsg:485 go p.checkResize()486 }487488 // Process internal messages for the renderer.489 if r, ok := p.renderer.(*standardRenderer); ok {
452 unmodified lines