>// Custom palette selection</span></div>
<div class="line">    fprintf(fp, <span class="stringliteral">&quot;\e[2qSelected custom palette 2\n&quot;</span>);</div>
<div class="line"> </div>
<div class="line">    <span class="comment">// Cursor visibility control</span></div>
<div class="line">    fprintf(fp, <span class="stringliteral">&quot;\e[&gt;Cursor hidden\n&quot;</span>);</div>
<div class="line">    fprintf(fp, <span class="stringliteral">&quot;\e[&lt;Cursor shown\n&quot;</span>);</div>
<div class="l