Section One BBS

Welcome, Guest.


Subject: BBC Micro cursor navigation Date: Sat Mar 08 2025 10:29 pm
From: Vela025 To: All

Hey All,

I'm looking to implement the use of the BBC Micros cursor keys for message
navigation (via msglist.js), the beeb sends ASCII 130-133 for
Up/Down/Left/Right so I was trying to adapt the following (in msglist.js) to
acount for this:

            case KEY_DOWN:
                if(msg_ctrl)
                    msg_line++;
                else
                    current++;
                break;

I initially tried just changing KEY_DOWN to 131...but no dice. As these aren't
printable characters it is possible to do it in this way? 

Thanks,
Ed

---
 ■ Synchronet ■ My Brand-New BBS

Previous Message       Next Message
Replies: BBC Micro cursor navigation (Digital Man)