summaryrefslogtreecommitdiffstats
path: root/TraceScreen.c
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2015-03-23 17:04:53 -0300
committerHisham Muhammad <hisham@gobolinux.org>2015-03-23 17:04:53 -0300
commitade7993fcb468433d28e569e16e90de4251114ab (patch)
treed9ff4a02e55373346b87acd174863639e20917fa /TraceScreen.c
parentd0c72c3fb29d535f5bb12b651e3bcaa516650199 (diff)
incremental search and filter reintegrated!
Diffstat (limited to 'TraceScreen.c')
-rw-r--r--TraceScreen.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/TraceScreen.c b/TraceScreen.c
index 48274bda..6f871267 100644
--- a/TraceScreen.c
+++ b/TraceScreen.c
@@ -79,7 +79,6 @@ static inline void appendLine(const char* line, Vector* lines, Panel* panel, con
}
void TraceScreen_run(TraceScreen* this) {
-// if (this->process->pid == getpid()) return;
char buffer[1001];
int fdpair[2];
int err = pipe(fdpair);
@@ -167,7 +166,7 @@ void TraceScreen_run(TraceScreen* this) {
follow = false;
ch = 0;
} if (mevent.y == LINES - 1)
- ch = FunctionBar_synthesizeEvent(inc->bar, mevent.x);
+ ch = IncSet_synthesizeEvent(inc, mevent.x);
}
if (inc->active) {
@@ -186,11 +185,11 @@ void TraceScreen_run(TraceScreen* this) {
break;
case KEY_F(3):
case '/':
- IncSet_activate(inc, INC_SEARCH);
+ IncSet_activate(inc, INC_SEARCH, panel);
break;
case KEY_F(4):
case '\\':
- IncSet_activate(inc, INC_FILTER);
+ IncSet_activate(inc, INC_FILTER, panel);
break;
case 'f':
case KEY_F(8):

© 2014-2024 Faster IT GmbH | imprint | privacy policy