<p>dexter has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/pysim/+/26081">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">pySim-shell: print newline on exit with CTRL+D<br><br>When pySim-shell is exited using CTRL+D it does not print a newline.<br>This means that the prompt of the OS shell shows up after the<br>pySim-shell prompt. This is irretating. Lets print a new line on exit<br>with CTRL+D so that everything looks straight.<br><br>Change-Id: I88e58094b9badeaabd8502006e5e16f35eaa683e<br>---<br>M pySim-shell.py<br>1 file changed, 4 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/81/26081/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/pySim-shell.py b/pySim-shell.py</span><br><span>index 3fc5859..ee74506 100755</span><br><span>--- a/pySim-shell.py</span><br><span>+++ b/pySim-shell.py</span><br><span>@@ -204,6 +204,10 @@</span><br><span>                 """Display the intro banner"""</span><br><span>                 self.poutput(self.intro)</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+  def do_eof(self, _: argparse.Namespace) -> bool:</span><br><span style="color: hsl(120, 100%, 40%);">+           self.poutput("")</span><br><span style="color: hsl(120, 100%, 40%);">+            return self.do_quit('')</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span>    @cmd2.with_category(CUSTOM_CATEGORY)</span><br><span>         def do_equip(self, opts):</span><br><span>            """Equip pySim-shell with card"""</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/pysim/+/26081">change 26081</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/pysim/+/26081"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: pysim </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I88e58094b9badeaabd8502006e5e16f35eaa683e </div>
<div style="display:none"> Gerrit-Change-Number: 26081 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: dexter <pmaier@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>