This is an automated email from the ASF dual-hosted git repository. jerzy pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mynewt-core.git
The following commit(s) were added to refs/heads/master by this push: new 96334e250 sys/console: Reset text attributes on init 96334e250 is described below commit 96334e250e91afef758e4e5a1a69a553848108f2 Author: Jerzy Kasenberg <jerzy.kasenb...@codecoup.pl> AuthorDate: Fri Oct 14 13:13:23 2022 +0200 sys/console: Reset text attributes on init When console has colors (for now only for software cursor) color or other text attributes can be changed from the default when device reboots. Now escape sequnce to restore default text attributes is added to first time initialization of console. --- sys/console/full/src/console.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/console/full/src/console.c b/sys/console/full/src/console.c index a147c6a1d..5460b95b1 100644 --- a/sys/console/full/src/console.c +++ b/sys/console/full/src/console.c @@ -368,6 +368,7 @@ console_init_terminal(void) { if (MYNEWT_VAL(CONSOLE_PROMPT_STICKY) && !terminal_initialized) { console_write_str(CSI "!p" + CSI "0m" CSI "1;999r" CSI "999;1H\n\n" CSI "A"