Re: Fix modifiers in "Twm Keys" menu

"Matthew D. Fuller" <[email protected]>
Newsgroups gmane.comp.window-managers.ctwm
Message-ID <[email protected]>
On Mon, Apr 13, 2020 at 11:06:57PM +0200 I heard the voice of
Maxime Soulé, and lo! it spake thus:
> 
> + it seems "make indent" did not run for otp.c after last commit:

Easy enough fix.


> In "Twm Keys" menu, modifiers are not correctly displayed
> https://github.com/maxatome/ctwm-mirror/commit/3327c2a8bad4550f54a25cf852aca3dcb9d977b8
> fixes them.

Man, that is a weeeeeird-ass menu, with weeeeeeird-ass rules for what
it shows...

Brought in the fix.  I reworked it a little, and pulled it out into a
func so we could add tests for it too.  Sure, randomly adding tests as
random features/fixes come in leaves us with some really bizarre test
coverage, but more is still better   :)


-- 
Matthew Fuller     (MF4839)   |  [email protected]
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/
           On the Internet, nobody can hear you scream.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.