local navigation
[oftp] / src / unix / input.c
index 6fba0fc..f39c04f 100644 (file)
@@ -42,6 +42,9 @@ static int convkey(int key)
        default:
                break;
        }
+       if(key >= KEY_F(1) && key <= KEY_F(12)) {
+               return KB_F1 + (key - KEY_F(1));
+       }
        if(key < 128) {
                return key;
        }