[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Busy loop in menus

From: Petteri Hintsanen
Subject: Busy loop in menus
Date: Sat, 8 Jan 2022 21:19:44 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.4.1

Dear gtypist maintainers,

When starting gtypist without terminal input, eg. from a window manager by dmenu_run or some other exec mechanism, gtypist goes into a busy loop and consequently eats all CPU while running in the background.

This happens because get_widech function returns ERR, but it is not checked in cursmenu.c:359 and infoview.c:274.

Simple patch against current git master attached for your consideration. It may not be the best solution overall, but should fix the immediate problem.

This is on GNU/Linux machine running X11 (Xorg) and fvwm. In fvwm's environment, TERM is set to "linux".


Attachment: get_widech.patch
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]