links

lynx-like text mode web browser
git clone anongit@rnpnr.xyz:links.git
Log | Files | Refs | Feed | README | LICENSE

Commit: 53f7cc86044a09db99c44c38543b293045a1f3fe
Parent: 9f5f2d41c2e2b400dbeec6aaa8945a49d5643bb1
Author: opask
Date:   Tue, 27 Nov 2018 17:17:27 -0700

kbd.c: delete is_ibm()

Diffstat:
Mkbd.c | 10----------
1 file changed, 0 insertions(+), 10 deletions(-)

diff --git a/kbd.c b/kbd.c @@ -761,12 +761,6 @@ struct os2_key os2xtd[256] = { static int xterm_button = -1; -static int is_ibm(void) -{ - unsigned char *term = cast_uchar getenv("TERM"); - return term && !strncmp(cast_const_char term, "ibm", 3); -} - static int process_queue(struct itrm *itrm) { struct links_event ev = { EV_KBD, -1, 0, 0 }; @@ -808,10 +802,6 @@ static int process_queue(struct itrm *itrm) case 'U': case 'G': ev.x = KBD_PAGE_DOWN; break; case 'P': - if (is_ibm()) { - ev.x = KBD_DEL; - break; - } ev.x = KBD_F1; break; case 'Q': ev.x = KBD_F2; break; case 'S':