clear modal after printing it once
now after a modal (eg "m l") and <enter> will re-print the page you are on
This commit is contained in:
parent
ceaaaaf695
commit
f350fb9029
|
@ -430,6 +430,8 @@ func print(state *BrowserState) error {
|
|||
return nil
|
||||
}
|
||||
|
||||
defer func() { state.Modal = nil }()
|
||||
|
||||
if state.Body == nil && state.Modal == nil {
|
||||
return ErrMustBeOnAPage
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue