From 00653d0b11e6ba2c4b975a904435eb9eaa714509 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 22 Sep 2019 23:56:03 -0700 Subject: Added better support for home/end --- bterm.h | 1 + 1 file changed, 1 insertion(+) (limited to 'bterm.h') diff --git a/bterm.h b/bterm.h index 07152d7..00fd1cc 100644 --- a/bterm.h +++ b/bterm.h @@ -162,6 +162,7 @@ int bgetkey(FILE *in, int *mouse_x, int *mouse_y, int timeout) case '~': switch (numcode) { case 3: return KEY_DELETE; + case 4: return KEY_END; case 5: return KEY_PGUP; case 6: return KEY_PGDN; case 15: return KEY_F5; -- cgit v1.2.3