Skip to content

Commit 63e3f56

Browse files
committed
[io] check for NCKEY_EOF
Related to #1536
1 parent faf1eb7 commit 63e3f56

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/hotkeys.cc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,11 @@ handle_paging_key(notcurses* nc, const ncinput& ch, const char* keyseq)
176176
return true;
177177
}
178178

179+
if (ch.id == NCKEY_EOF) {
180+
lnav_data.ld_looping = false;
181+
return true;
182+
}
183+
179184
if (tc->get_overlay_selection()) {
180185
if (tc->handle_key(ch)) {
181186
return true;

0 commit comments

Comments
 (0)