diff options
author | Anatol Pomozov <anatol.pomozov@gmail.com> | 2020-11-04 02:04:38 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2020-11-26 07:10:26 +0100 |
commit | db4092e33dacc6a0bb8afd283a82e6f4327cb865 (patch) | |
tree | fe41f19f74250430a985311920a1ae7d1d4d1f27 /lib/libalpm/meson.build | |
parent | 2859a6eefcb465a382267c6e5981192c6a54f5bb (diff) | |
download | pacman-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 'lib/libalpm/meson.build')
0 files changed, 0 insertions, 0 deletions