On 4/11/20 11:04 am, Anatol Pomozov wrote: > 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.pomo...@gmail.com> > ---
Looks good. As an aside, I'd like to boot those console functions into a separate file at some stage. Allan