<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Command Line Interface Text Alignment problem</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/61219/command-line-interface-text-alignment-problem</link><description>Hello Nordic, 
 
 I recently setup the Command Line application for our device, using USB CDC ACM. I started experimenting in the example cli project. After everything was working there I migrated to our main project file. Here everything also works,</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 13 May 2020 14:31:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/61219/command-line-interface-text-alignment-problem" /><item><title>RE: Command Line Interface Text Alignment problem</title><link>https://devzone.nordicsemi.com/thread/249779?ContentTypeID=1</link><pubDate>Wed, 13 May 2020 14:31:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c176e64b-b1f8-483c-965e-3e3d080e38cf</guid><dc:creator>GPL</dc:creator><description>&lt;p&gt;So after some more searching &amp;amp; head-scratching, I found out that&amp;nbsp;NRF_FPRINTF_FLAG_AUTOMATIC_CR_ON_LF_ENABLED needed to be set to 1 in order to display correctly in the CLI. However, now my output window in SES doesn&amp;#39;t display the logs correctly. I tried searching where&amp;nbsp;above flag is used in the code so I can hardcode it in certain places, but I wasn&amp;#39;t&amp;nbsp;able to locate any occurrences. Is it possible to display text correctly in the SES output window as well as in the CLI?&lt;/p&gt;
&lt;p&gt;Otherwise the only option would be to only set the flag in production code &amp;amp; not being able to debug via ses.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Command Line Interface Text Alignment problem</title><link>https://devzone.nordicsemi.com/thread/249043?ContentTypeID=1</link><pubDate>Sat, 09 May 2020 15:20:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5ca5b057-faf6-45bd-b1d8-dbf0cf75dd21</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;Line endings: \r\n versus \n. \n is &amp;quot;new line&amp;quot; while \r is &amp;quot;carriage return&amp;quot; (returns cursor to 1st column).&lt;/p&gt;
&lt;p&gt;Note that different terminals have different ideas about &amp;quot;correct&amp;quot; end of line characters, and this is configurable in putty.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>