Skip to content

Commit 7ca0bdc

Browse files
committed
[timeline] pressing q blur the preview panel
1 parent 897fa37 commit 7ca0bdc

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

src/hotkeys.cc

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,11 @@ handle_paging_key(notcurses* nc, const ncinput& ch, const char* keyseq)
191191
}
192192
}
193193

194+
// XXX
195+
if (tc == &lnav_data.ld_views[LNV_TIMELINE] && tc->handle_key(ch)) {
196+
return true;
197+
}
198+
194199
if (handle_keyseq(keyseq)) {
195200
return true;
196201
}
@@ -329,7 +334,8 @@ DELETE FROM lnav_user_notifications WHERE id = 'org.lnav.mouse-support'
329334

330335
case 'F':
331336
if (tc == &lnav_data.ld_views[LNV_LOG]
332-
|| tc == &lnav_data.ld_views[LNV_TIMELINE]) {
337+
|| tc == &lnav_data.ld_views[LNV_TIMELINE])
338+
{
333339
bm[&logfile_sub_source::BM_FILES].prev(
334340
tc->get_selection().value_or(0_vl))
335341
| [&tc](auto vl) {

0 commit comments

Comments
 (0)