summaryrefslogtreecommitdiffstats
path: root/scripts/libmakepkg/buildenv.sh.in
diff options
context:
space:
mode:
authorAnatol Pomozov <anatol.pomozov@gmail.com>2020-11-04 02:04:38 +0100
committerAllan McRae <allan@archlinux.org>2020-11-26 07:10:26 +0100
commitdb4092e33dacc6a0bb8afd283a82e6f4327cb865 (patch)
treefe41f19f74250430a985311920a1ae7d1d4d1f27 /scripts/libmakepkg/buildenv.sh.in
parent2859a6eefcb465a382267c6e5981192c6a54f5bb (diff)
downloadpacman-db4092e33dacc6a0bb8afd283a82e6f4327cb865.tar.gz
pacman-db4092e33dacc6a0bb8afd283a82e6f4327cb865.tar.xz
Move cursor to the end of the screen at the SIGINT
It requires exposing 'move cursor to the end' function in a pacman header file. We use it as a chance to make naming of the cursor management functions more consistent. Note that there is still possibility of a race condition in the cursor update logic. 'update cursor index variable' and 'send ASCII control symbols to console' is not an atomic operation. So if an SIGINT is received between these two action then cursor position is going to be screwed. Fixes FS#67973 Signed-off-by: Anatol Pomozov <anatol.pomozov@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'scripts/libmakepkg/buildenv.sh.in')
0 files changed, 0 insertions, 0 deletions