mirror of
https://github.com/VladimirMarkelov/clui.git
synced 2025-04-26 13:49:01 +08:00
add event for composer to close the top window
This commit is contained in:
parent
f677db2337
commit
4425b1bdb7
@ -584,6 +584,8 @@ func (c *Composer) processKey(ev Event) {
|
||||
|
||||
func ProcessEvent(ev Event) {
|
||||
switch ev.Type {
|
||||
case EventCloseWindow:
|
||||
comp.closeTopWindow()
|
||||
case EventRedraw:
|
||||
RefreshScreen()
|
||||
case EventResize:
|
||||
|
Loading…
x
Reference in New Issue
Block a user