qulogic/libgnt

Fix arrow keys
fix-arrow-keys
2019-02-20, Petteri Pitkänen
7ac801527b0b
Fix arrow keys

The key-tree expects that for arrow keys the terminal transmits codes that
are defined in the terminfo database, but these codes are transmitted only
in application mode. To make the arrow key handling portable across
terminals, and to prevent the need for manually translating these codes, put
the terminal into application mode by calling ncurses keypad().

Fixes #12676.
# vi:et:ts=2 sw=2 sts=2
image: libgnt/builders:debian-buster-amd64
pipelines:
default:
- step:
script:
- set -ex
- meson build-pipelines
- ninja -C build-pipelines
- ninja -C build-pipelines test
- ninja -C build-pipelines libgnt-doc