fix opening an item with the Return key - sacc - sacc(omys), simple console gopher client HTML git clone git://bitreich.org/sacc/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/sacc/ DIR Log DIR Files DIR Refs DIR Tags DIR LICENSE --- DIR commit bc83c52d4404f6eaf306c13fb18bd88073896f11 DIR parent bf6e2f0c9fe5ab30bf03a99d72886b107651c0bb HTML Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Mon, 10 Jul 2017 18:07:52 +0200 fix opening an item with the Return key Diffstat: M ui_ti.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) --- DIR diff --git a/ui_ti.c b/ui_ti.c @@ -290,7 +290,7 @@ selectitem(Item *entry) pgprev: return entry->entry; case _key_pgnext: - case '\r': + case '\n': pgnext: if (dir) return dir->items[entry->curline]; @@ -331,7 +331,6 @@ selectitem(Item *entry) help(); default: continue; - } } }