<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Kconfiglib.git/menuconfig.py, branch v13.7.1</title>
<subtitle>Fork of https://github.com/zephyrproject-rtos/Kconfiglib.git</subtitle>
<id>https://git.mcdonnell.dev/Kconfiglib.git/atom?h=v13.7.1</id>
<link rel='self' href='https://git.mcdonnell.dev/Kconfiglib.git/atom?h=v13.7.1'/>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/'/>
<updated>2020-01-12T14:39:13Z</updated>
<entry>
<title>menuconfig: Work around crash on resize on some macOS systems</title>
<updated>2020-01-12T14:39:13Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2020-01-12T10:03:23Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=68bcecd823d3c98539873389b0734ad3a40803e8'/>
<id>urn:sha1:68bcecd823d3c98539873389b0734ad3a40803e8</id>
<content type='text'>
get_wch() has started raising curses.error when resizing the terminal on
some macOS Python installations. Work around for now by falling back on
getch(), which still works.

See https://github.com/ulfalizer/Kconfiglib/issues/84. Needs more
investigation, but I don't have a Mac handy.

Based on https://github.com/ulfalizer/Kconfiglib/pull/85, but with some
more comments.
</content>
</entry>
<entry>
<title>menuconfig: Remove some double blank lines</title>
<updated>2020-01-12T09:31:11Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2020-01-12T09:29:45Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=69c955ff618e30f704033038fa467be98af07c90'/>
<id>urn:sha1:69c955ff618e30f704033038fa467be98af07c90</id>
<content type='text'>
Clear enough with the comment style. Shortens things a bit.
</content>
</entry>
<entry>
<title>Put some comments at the end of lines.</title>
<updated>2020-01-12T09:26:41Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2019-12-22T13:19:40Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=c49bbbbe35e725a75bc6c2fa08ed957ab3f73fcb'/>
<id>urn:sha1:c49bbbbe35e725a75bc6c2fa08ed957ab3f73fcb</id>
<content type='text'>
Shortens things a bit.
</content>
</entry>
<entry>
<title>menuconfig: Improve look and readability of the aquatic theme</title>
<updated>2019-12-19T02:26:58Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2019-12-19T02:26:13Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=456f821dae9266b3a6fa538a017a4a8b2a761dbc'/>
<id>urn:sha1:456f821dae9266b3a6fa538a017a4a8b2a761dbc</id>
<content type='text'>
Cyan-on-blue for the path/help text is hard to read, especially on some
terminals.

Also remove bold, which looks a bit cleaner at a glance.
</content>
</entry>
<entry>
<title>menuconfig: Ignore errors from use_default_colors()</title>
<updated>2019-11-27T00:41:53Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2019-11-27T00:21:57Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=4ea8b2b3cee33337c8b894602572460ee4f45cde'/>
<id>urn:sha1:4ea8b2b3cee33337c8b894602572460ee4f45cde</id>
<content type='text'>
Checking has_colors() isn't enough with with the winpty/msys2 setup in
https://github.com/msys2/MINGW-packages/issues/5823, though it seems a
bit broken.

ncurses looks for either the orig_pair or the orig_color terminal
capability, which is different from what has_colors() checks, so
probably shouldn't assume use_default_colors() work on color terminals
at least.
</content>
</entry>
<entry>
<title>menuconfig: Rename _STYLE_STD_COLORS to _NAMED_COLORS</title>
<updated>2019-11-27T00:41:53Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2019-11-26T23:14:47Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=3e1377ab3e5db201154bd78532b0e2cde08d287f'/>
<id>urn:sha1:3e1377ab3e5db201154bd78532b0e2cde08d287f</id>
<content type='text'>
Clearer.
</content>
</entry>
<entry>
<title>menuconfig: Reuse _IS_WINDOWS for curses import error check</title>
<updated>2019-11-27T00:41:53Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2019-11-26T23:10:51Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=0591cd1fe34f84ff510c737554acf9e47a939c62'/>
<id>urn:sha1:0591cd1fe34f84ff510c737554acf9e47a939c62</id>
<content type='text'>
No need to check both os.name and sys.platform.
</content>
</entry>
<entry>
<title>menuconfig: Ignore MENUCONFIG_STYLE on non-color terminals</title>
<updated>2019-11-27T00:41:44Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2019-11-26T23:00:33Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=7020b86d437c149ed3582454daeb3aeca1429364'/>
<id>urn:sha1:7020b86d437c149ed3582454daeb3aeca1429364</id>
<content type='text'>
Assume that the environment is non-standard/broken on terminals that
don't support color, and that any custom styling applied to the
'monochrome' theme is likely to mess things up (though any colors will
be ignored).

The menuconfig really needs more than two colors to not look ugly
anyway, because of the borderless design.
</content>
</entry>
<entry>
<title>menuconfig: Avoid the non-ANSI 'brightwhite' color in the aquatic theme</title>
<updated>2019-11-23T18:34:41Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2019-11-23T18:32:07Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=1ad02f526c3c0e2488f54c6028e998370839c7a5'/>
<id>urn:sha1:1ad02f526c3c0e2488f54c6028e998370839c7a5</id>
<content type='text'>
Not available with TERM=xterm (as opposed to xterm-256color).

Use fg:white instead of fg:brightwhite for dialog box bodies. Not a huge
difference.

Came up in https://github.com/espressif/esp-idf/issues/4387.
</content>
</entry>
<entry>
<title>menuconfig: Check that bright named colors are &lt; curses.COLORS</title>
<updated>2019-11-23T18:28:28Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2019-11-23T18:15:17Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=7a98bc7944f1b390e5a82e40c62d0ce7540befdc'/>
<id>urn:sha1:7a98bc7944f1b390e5a82e40c62d0ce7540befdc</id>
<content type='text'>
The bright colors in the range 8-15 are not ANSI and are not guaranteed
to be available.

Previously, the code assumed that all named colors are always available
on color terminals, and skipped the check against curses.COLORS. This
led to this error e.g. with TERM=xterm (as opposed to xterm-256color)
and the aquatic theme, which uses 'brightwhite':

    _curses.error: init_pair() returned ERR

Fix it by checking the number returned for named colors against
curses.COLORS as well.

Came up in https://github.com/espressif/esp-idf/issues/4387.
</content>
</entry>
</feed>
