Skip to content

Commit

Permalink
add toggle for ascii debug
Browse files Browse the repository at this point in the history
  • Loading branch information
MightyPork committed Oct 1, 2017
1 parent 979d457 commit 55e2def
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lang/cs.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@
'term.color_fg_prev' => 'Barva textu',
'term.color_bg_prev' => 'Barva pozadí',
'term.colors_preview' => '',
'term.debugbar' => 'Zobraz ladicí panel',
'term.ascii_debug' => 'ASCII debug režim',

'cursor.block_blink' => 'Blok, blikající',
'cursor.block_steady' => 'Blok, stálý',
Expand Down
2 changes: 2 additions & 0 deletions lang/en.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@
'term.color_fg_prev' => 'Foreground',
'term.color_bg_prev' => 'Background',
'term.colors_preview' => '',
'term.debugbar' => 'Show debug panel',
'term.ascii_debug' => 'ASCII debug mode',

'cursor.block_blink' => 'Block, blinking',
'cursor.block_steady' => 'Block, steady',
Expand Down
13 changes: 13 additions & 0 deletions pages/cfg_term.php
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,19 @@
<span class="mq-no-phone">&nbsp;ms</span>
</div>

<div class="Row checkbox" >
<label><?= tr('term.debugbar') ?></label><!--
--><span class="box" tabindex=0 role=checkbox></span>
<input type="hidden" id="debugbar" name="debugbar" value="%debugbar%">
</div>

<div class="Row checkbox" >
<label><?= tr('term.ascii_debug') ?></label><!--
--><span class="box" tabindex=0 role=checkbox></span>
<input type="hidden" id="ascii_debug" name="ascii_debug" value="%ascii_debug%">
</div>


<div class="Row checkbox" >
<label><?= tr('term.fn_alt_mode') ?></label><!--
--><span class="box" tabindex=0 role=checkbox></span>
Expand Down

0 comments on commit 55e2def

Please sign in to comment.