Skip to content

Releases: jcubic/jquery.terminal

2.12.0

01 Jan 18:37
Compare
Choose a tag to compare

Features

  • improve performance
  • add cache for formatting and processing lines
  • big improvements to less plugin re-rendering (e.g. when scrolling text with keyboard)
  • cursor movement in unix formatting (virtual cursor not supported in cmd, because it make no sense) #553

Bugfix

  • fix empty lines in less
  • fix split_equal with keep works and formatting at the end.
  • fix searching inside links in less

2.10.1

22 Dec 17:25
Compare
Choose a tag to compare

NPM (2.11.1)

Bugfix

  • fix glow effect of prompt when it don't have formatting
  • fix exec commands from echo
  • fix echo formatting with newline and bracket at the end
  • fix single wide character exception
  • fix substring after string when string have bracket at the end #550
  • fix images & style from formatters inside cmd #519

2.10.0

18 Dec 14:32
Compare
Choose a tag to compare

Feature

  • improve performance by adding function $.terminal.partition
  • allow to use force resize cmd::resize(true) (to update init command line with emoji)
  • add glow style #549

Bugfix

  • fix throw/reject in async function/promise #546
  • allow to return string from greetings function
  • fix low level iterate_formatting function to handle html entities properly
  • fix spacing of wider characters (Chinese/Japanese) in echo (to match cmd)
  • fix jumping on right click #545
  • fix selection on double click on cmd
  • fix parse_options #547
  • fix style of links with wcwidth #544
  • fix copy of empty lines in output #548

2.9.0

25 Nov 10:50
Compare
Choose a tag to compare

Features

  • allow to return a promise from greetings function #531
  • call onClear before clear and allow to cancel #527
  • new renderHandler option #526
  • allow to echo DOM nodes and jQuery objects #526
  • handle broken images in terminal and less (svg and error message respectively)
  • terminal have terminal-less class when less runs
  • pipe extension monkey patch terminal like echo newline, and it allow to use standard interpreter (old API work the same).

Bugfix

  • fix links from formatters in cmd
  • fix images from formatters in cmd #519
  • fix less #522
  • fix recursive error when echo finalize throwed exception #524
  • fix prism - xml nested formatting and weird wrapping #523, #410
  • limit number of characters in click on exception line #525
  • fix less search clear on resize #528
  • fix less search second instance (move one line to bottom)
  • don't delay backspace by default on Desktop + fix delay key check #532
  • fix pipe when argument is pipe in quote echo "|"
  • fix display_position (click on cmd) when using prism + unix formatting #533
  • allow path in URL for links and images
  • fix multiple issues with less plugin
  • few fixes to pipe
  • fix echo array after refresh #540
  • fix apply formatters in update #543
  • fix pause on login when using callback #538

2.8.0

30 Aug 13:11
Compare
Choose a tag to compare

Feature

  • new events onBeforeLogin, onAfterLogin, onBeforeEcho and onAfterEcho
  • inherit of style in nesting formatter (with flag __inherit__ = true on nested_formatting) #513
  • image formatting (less with images #515)
  • new echo_command API method (for echo_newline default action)
  • mobile delete disabled by default + option toggle #506

Bugfix

  • add missing onAfterCommand and onBeforeCommand to d.ts file
  • fix Emoji #514
  • fix nesting with prism formatter

2.7.1

13 Aug 16:20
Compare
Choose a tag to compare

Bugfix

  • fix invoking methods by typing it into terminal #512
  • don't remove extended command when using echo with exec: false

2.7.0

10 Aug 17:34
Compare
Choose a tag to compare

Breaking/Feature

  • all classes are prefixed with cmd or terminal except .token (PrimsJS internals) and .emoji (this may be feature that fix some bugs, that also may break user code - but it's internal html structure and it's not documented as API) #510

Bugfix

  • fix issue with space in IE and Edge #507
  • multiple bracket escaping issues #505
  • fix paste of images #505
  • fix xml formatter in Prism (regression) #410

2.6.3

08 Jun 19:40
Compare
Choose a tag to compare

Bugfix

  • fix mobile keypress invocation when no keypress (Android)
  • fix sizing issue with underscores #501

2.6.2

02 Jun 17:05
Compare
Choose a tag to compare

Bugfix

  • fix CTRL+C when terminal is not in focus (it should bypass enabled flag only when select text is inside terminal) #499
  • fix keepWord option in echo of last line #497
  • fix broken formatting in Prism #496

2.6.1

26 May 22:43
Compare
Choose a tag to compare

Bugfix

  • fix sourcemaps
  • fix prism + --size
  • fix echo double slashes
  • escape options to $.terminal.format (default to true - same behavior) to fix previous error