tfix opening an item with the Return key - sacc - sacc (saccomys): simple gopher client. (DIR) Log (DIR) Files (DIR) Refs (DIR) LICENSE --- (DIR) commit bc83c52d4404f6eaf306c13fb18bd88073896f11 (DIR) parent bf6e2f0c9fe5ab30bf03a99d72886b107651c0bb (HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Mon, 10 Jul 2017 18:07:52 +0200 fix opening an item with the Return key Diffstat: ui_ti.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) --- (DIR) diff --git a/ui_ti.c b/ui_ti.c t@@ -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]; t@@ -331,7 +331,6 @@ selectitem(Item *entry) help(); default: continue; - } } }