Only uiShow if hidden and only uiHide if shown
parent
1e226593ef
commit
4405b89f6c
2
ui.c
2
ui.c
|
@ -456,6 +456,7 @@ static void unmark(struct Window *window) {
|
|||
}
|
||||
|
||||
void uiShow(void) {
|
||||
if (!hidden) return;
|
||||
prevTitle[0] = '\0';
|
||||
putp(EnterFocusMode);
|
||||
putp(EnterPasteMode);
|
||||
|
@ -465,6 +466,7 @@ void uiShow(void) {
|
|||
}
|
||||
|
||||
void uiHide(void) {
|
||||
if (hidden) return;
|
||||
mark(windows.ptrs[windows.show]);
|
||||
hidden = true;
|
||||
putp(ExitFocusMode);
|
||||
|
|
Loading…
Reference in New Issue