Skip to content

Releases: jcubic/jquery.terminal

2.5.1

16 May 16:32
Compare
Choose a tag to compare

Bugfix

  • fix 1px black space in style of selection after prism token
  • additional validate instead of just throw and capture JSON errors in format function (devtools improvement)
  • fix typescript types for version 3.3.29 and freeze the version

2.5.0

07 May 18:43
Compare
Choose a tag to compare

Features

  • Better API option doubleTabEchoCommand so you don't need to call echo_command() function in doubleTab.
  • new API Cmd::column(boolean): number
  • moving cursor up down in multiline command (like in Chrome Dev tools)

Bugfix

  • fix wrong array detection in completion when array passed across iframes
  • fix prism.js and emoji.js dependencies when run with webpack
  • fix keepWord option for echo (iterate_formatting function that is called by split_equal) #491
  • fix press key after hold different key #488
  • fix echo empty line on longer lines (issue only happen in examples page in scheme inside dialog)
  • fix for jQuery UI dialog visibility change detection
  • fix hidden cursor in FireFox

2.4.1

18 Apr 17:13
Compare
Choose a tag to compare

Bugfix

  • show terminal content after it's resized when initially not visible (fix jumping of text)
  • fix pipe when using read + echo in first command and read in next
  • fix issue with jumping of terminal on keypress #486
  • fix hold key when key change fast (manifested by jumping to address bar on ALT+D) #485
  • fix scroll page when terminal don't have scrollbar #484
  • fix issue with call .complete(['cd']); because of default "clear" (moved code outside of complete)
  • fix Prism formatter when highlighted code have brackets
  • fix few async prompt issues including #474

2.4.0

14 Apr 12:11
Compare
Choose a tag to compare

Features

  • improvements to performance of rendering and navigating longer command lines
  • CTRL+C now retain newlines inside cmd and terminal output (modern browsers only)
  • more control over server side calls by using invokeMethods option in echo
  • warn users when they try to complete commands with newlines and word complete is set

Bugfix

  • fix scrollbar flicker on right click on right/bottom edge of terminal when no scrollbar
  • fix text selections on multi line text without line breaks
  • fix small bugs in animations (replace all of them with box-shadow)
  • debounce HOLD+ARROWS (left/right) so they are usable again
  • fix exception when completion characters not safe for regular exception

2.3.0

05 Apr 16:33
Compare
Choose a tag to compare

Features

  • add experimental $.terminal.pipe function
  • allow to return string from onPaste (not only a promise)
  • add CTRL+Home and CTRL+End keys + HOME and END move cursor to the end and beginning of the line #479
  • zoom page when using mousewheel + CTRL key (browser default) #468
  • allow to set attributes from formatting with filtering options (to prevent unwanted onclick or other attrs by echo untrusted text) #472

Bugfix

  • fix selecting whole text of single .cmd line
  • fix double call of async prompt with async interpreter #474
  • fix async + RPC + exec + no system.describe #475
  • fix describe === false (exception in js and typscript definition)
  • don't pause terminal when user code return result of calling terminal::read()
  • fix jumping while using up/down arrows #477 #478
  • fix issue with echo brackets inside formatting when using unix formatting #470
  • fix wrong &quote; entity in formatting tag data-text attribute (it should be ")

2.2.0

17 Feb 12:31
Compare
Choose a tag to compare

Features

  • Handle unclosed entities #462

Bugfix

  • don't complete default commands as argument #465
  • don't show links in echo command + format links inside formatting #464
  • fix calling set_mask in onPop
  • fix visibility change when terminal have position:fixed #466
  • echo without argument or with empty string - to create blank line #467

2.1.2

17 Feb 12:30
Compare
Choose a tag to compare

Bugfix

  • remove bugfix for #402 that should never land in the code
  • fix removing temp terminal (used to calculate char size)

2.1.1

27 Jan 14:13
Compare
Choose a tag to compare

Bugfix

  • don't apply emoji css inside .raw class (addded by echo('string', {raw: true})) #461
  • fix wrapping when using font-family wildcard css rule

2.1.0

20 Jan 10:59
Compare
Choose a tag to compare

Features

  • cursor glow animation
  • add invoke_key to cmd
  • onPaste event
  • integrate emoji into terminal

Bugfixes

  • fix wrapping when command have & and ; but it's not entity #454
  • fix wrapping when css style created using id #454
  • fix calculating number of characters on init in bare cmd
  • fix .inverted class #457
  • fix background color on selection (when using --color)
  • fix hidden bar cursor when command is empty
  • fix copy terminal output to clipboard (newlines issue) #456
  • remove weird space between lines of selection
  • fix jumping of cursor with underline animation
  • fix selection of command line
  • fix error color when --color is used
  • fix ANSI art issue #460

2.0.2

22 Dec 15:06
Compare
Choose a tag to compare

Bugfix

  • fix ansi escapes in unix formatting for sequence 5;1;47m that fixes rendering ANSI art
  • fix cutting of underline from ASCII art
  • fix cutting ASCII art underscores in Codepen/Linux/Chromium on GNU/LINUX
  • fix ascii_table when text have \r
  • fix prism highlighting in echo (terminal rules were stronger than Prism)