Skip to content

Commit

Permalink
mobile delete disabled by default + option toggle #506
Browse files Browse the repository at this point in the history
  • Loading branch information
jcubic committed Aug 29, 2019
1 parent d1bfd1a commit f5ad880
Show file tree
Hide file tree
Showing 9 changed files with 428 additions and 384 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -4,6 +4,7 @@
* inherit of style in nesting formatter (with flag `__inherit__ = true` on `nested_formatting`) [#513](https://github.com/jcubic/jquery.terminal/issues/513)
* image formatting (less with images [#515](https://github.com/jcubic/jquery.terminal/issues/515))
* new `echo_command` API method (for echo_newline default action)
* mobile delete disabled by default + option toggle [#506](https://github.com/jcubic/jquery.terminal/issues/506)
### Bugfix
* add missing `onAfterCommand` and `onBeforeCommand` to d.ts file
* fix Emoji [#514](https://github.com/jcubic/jquery.terminal/issues/514)
Expand Down
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -10,8 +10,8 @@ http://terminal.jcubic.pl

[![npm](https://img.shields.io/badge/npm-DEV-blue.svg)](https://www.npmjs.com/package/jquery.terminal)
![bower](https://img.shields.io/badge/bower-DEV-yellow.svg)
[![travis](https://travis-ci.org/jcubic/jquery.terminal.svg?branch=devel&622bd362f7f7121ec4bed2eaf5b7b5e8fad8799a)](https://travis-ci.org/jcubic/jquery.terminal)
[![Coverage Status](https://coveralls.io/repos/github/jcubic/jquery.terminal/badge.svg?branch=devel&23020dde3e92637f6a5b31ad9c61b28c)](https://coveralls.io/github/jcubic/jquery.terminal?branch=devel)
[![travis](https://travis-ci.org/jcubic/jquery.terminal.svg?branch=devel&d1bfd1aa44dd3adee1606a62e1361ba241402b01)](https://travis-ci.org/jcubic/jquery.terminal)
[![Coverage Status](https://coveralls.io/repos/github/jcubic/jquery.terminal/badge.svg?branch=devel&eddc6803ea1ab789adf5713093ec64d8)](https://coveralls.io/github/jcubic/jquery.terminal?branch=devel)
![downloads](https://img.shields.io/npm/dm/jquery.terminal.svg?style=flat)
[![package quality](http://npm.packagequality.com/shield/jquery.terminal.svg)](http://packagequality.com/#?package=jquery.terminal)
[![](https://data.jsdelivr.com/v1/package/npm/jquery.terminal/badge?style=rounded)](https://www.jsdelivr.com/package/npm/jquery.terminal)
Expand Down
266 changes: 140 additions & 126 deletions js/jquery.terminal-2.7.1.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/jquery.terminal-2.7.1.min.js

Large diffs are not rendered by default.

262 changes: 138 additions & 124 deletions js/jquery.terminal-src.js

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion js/jquery.terminal.d.ts
Expand Up @@ -356,11 +356,12 @@ type CmdOptions = {
keypress?: JQueryTerminal.KeyEventHandler<Cmd>;
keydown?: JQueryTerminal.KeyEventHandler<Cmd>;
tabindex?: number;
mobileDelete?: boolean;
}
type CmdOption = "mask" | "caseSensitiveSearch" | "historySize" | "prompt" | "enabled" |
"history" | "tabs" | "onPositionChange" | "clickTimeout" | "holdTimeout" | "onPaste" |
"holdRepeatTimeout" | "repeatTimeoutKeys" | "width" | "historyFilter" | "commands" |
"char_width" | "onCommandChange" | "name" | "keypress" | "keydown";
"char_width" | "onCommandChange" | "name" | "keypress" | "keydown" | "mobileDelete";

// we copy methods from jQuery to overwrite it
// see: https://github.com/Microsoft/TypeScript/issues/978
Expand Down
266 changes: 140 additions & 126 deletions js/jquery.terminal.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/jquery.terminal.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/jquery.terminal.min.js.map

Large diffs are not rendered by default.

0 comments on commit f5ad880

Please sign in to comment.