Skip to content

Releases: jcubic/jquery.terminal

1.22.2

11 Sep 07:04
Compare
Choose a tag to compare

Bugfix

  • persistent function prompt don't render on enable and on init
  • fix duplicated line when prompt have more then one line
  • iterate_formatting to handle emoji like substring and split_equal

1.22.1

09 Sep 11:09
Compare
Choose a tag to compare

Bugfix

  • fix broken jquery.terminal.js because after last change there was not build
  • fix invocation in xml_formatting and dterm
  • add onCommandChange to defaults file so it's picked up by dterm (update d.ts)

1.22.0

09 Sep 09:33
Compare
Choose a tag to compare

Features

  • add sourcemaps to min js and css files #430
  • new option holdRepeatTimeout - which is number of the delay between keypress repeat when holding key
  • selection to change background color based on formatting like in Bash
  • embed emoji regex by Mathias Bynens for better emoji detection
  • allow to execute extended commands including terminal and cmd methods from formatters
  • support for true colors (24bit) in unix formatting #433
  • expose split_characters in $.terminal namespace
  • cmd commands option functions to have cmd as this context

Bugfix

  • update typescript definition to new options + minor tweaks to the api
  • fix cursor for PrismJS punctuation class
  • fix emoji that contain U+FE0F character at the end #424
  • fix for combine characters
  • fix typescript definition for prompt and greetings #425
  • fix typo in holdTimeout option name
  • fix wrapping when command have emoji and combine characters
  • fix align tabs when inside cursor line and align with prompt
  • fix multiple 8-bit color codes in single ANSI escape
  • fix cursor position when on formatting that change color and background
  • allow to use login function in set_interpreter

1.21.0

26 Aug 12:27
Compare
Choose a tag to compare

1.21.0

Security

  • add option invokeMethods that disable by default executing terminal and cmd methods from echo

Features

  • HOLD keymap modifier + HOLD+[SHIFT]+BACKSPACE/DELETE to delete word before/after the cursor #420
  • align tabs like in unix terminal #423
  • tabs terminal options change tab length, not only columns/arrays
  • add tabs option for cmd
  • improve performance of display_position (when you click on character in long command that change length)

Bugfix

  • fix &) in scheme prism formatting #421
  • don't process keys other then enter in reverse search
  • fix issue with background in Prismjs css
  • insert prism syntax formatter before nested formatting so it work for html if included with unix_formatting
  • fix emoji and Unicode surrogate pairs #422

1.20.5

21 Aug 10:07
Compare
Choose a tag to compare

1.20.5

Bugfix

  • one more fix to position in normal function formatter (prism)

1.20.4

21 Aug 09:04
Compare
Choose a tag to compare

1.20.4

Bugfix

  • fix position in normal function formatter (prism)
  • fix syntax (prism) function name in developer tools

1.20.3

21 Aug 06:32
Compare
Choose a tag to compare

1.20.3

Bugfix

  • fix regression in overtyping #409

1.20.2

19 Aug 13:26
Compare
Choose a tag to compare

1.20.2

Bugfix

  • escape formatting when using unix formatting in cmd
  • fix cursor style while hover over links
  • one more fix cursor position

1.20.1

19 Aug 09:51
Compare
Choose a tag to compare

1.20.1

Bugfix

  • fix click after line for last line

1.20.0

19 Aug 09:41
Compare
Choose a tag to compare

1.20.0

Security

  • anyLinks option to disable anything exception http and ftp (when false - default) - it make possible to insert javascript links, which is potential XSS vulnerability

Features

  • linksNoFollow option (default false)
  • add UMD for utility files #418

Bug Fixes

  • handling backspaces in unix formatting #409
    • handle \r \n \r\n \n\r the same when adding leftovers before backspace in unix formatting
    • fix cursor position when text have tabs, found when fixing #409
    • other fixes to backspaces
  • fix font change in universal selector #415
  • fix regression bug in formatters (emoji demo) #416
  • fix cmd::resize() without args that make number of characters equal to 1 #413
  • fix click after line #419