Skip to content

Releases: jcubic/jquery.terminal

1.15.0

13 May 09:45
Compare
Choose a tag to compare

Features

  • allow to invoke terminal and cmd methods from extended commands
    [[ terminal::set_prompt(">>> ") ]]
  • new API method invoke_key that allow to invoke shortcut, terminal.invoke_key('CTRL+L') will clear the terminal
  • shift+backspace now do the same thing as backspace

Bugs

  • fix wider characters in IE #380
  • fix issue with number of characters when terminal is added to DOM after creation in IE
  • fix scrolling on body in Safari
  • fix exception when entering JSON with literal strings #389
  • fix orphaned closing bracket on multiline echo #390
  • fix whitespace insert after first character after first focus #391
  • fix open link when click on url from exception

1.14.0

26 Mar 16:32
Compare
Choose a tag to compare

1.14.0

Features

  • pass options to formatters and accept option unixFormattingEscapeBrackets in unix_formatting (PR by Marcel Link)
  • improve performance of repaint and layout whole page when changing content of the terminal
  • use ch unit for wide characters if browser support it (it have wide support then css variables)
  • keymap terminal method and allow to set shortcuts on runtime

Bugs

  • fix newline as first character in formatting #375.
  • fix error when echo undefined (it will echo string undefined since it's converted to string)
  • fix first argument to keymap function, it's now keypress event
  • fix resizing issue when scrollbar appear/disappear while you type #378
  • fix cut of cursor when command line had full length lines and it was at the end #379

1.12.1

03 Mar 22:03
Compare
Choose a tag to compare
  • fix minified css file + fix scrollbar

1.12.0

02 Mar 20:40
Compare
Choose a tag to compare

Features

  • default options for cmd plugin
  • caseSensitiveSearch option for both terminal and cmd plugins

Bugfixes

  • fix urls ending with slash #365
  • stringify non string commands in set_command
  • fix scrolling of the page, when press space, after you click on the link
  • fix scrolling flicker when terminal added to body
  • small css fixes for element containers when terminal added to body
  • fix for wide characters inside bigger text #369
  • when clicking on terminal and it already had focus the textarea was blured #370
  • fix parsing empty strings "" or ''
  • fix warning from webpack about --char-width without default #371

1.11.4

27 Jan 15:47
Compare
Choose a tag to compare

Bug fixes

  • handle non string and functions in error the same as in echo
  • fix selection for raw output (reported by @ovk)
  • hide font resizer so you actually can select text starting from top left

1.11.3

08 Jan 18:41
Compare
Choose a tag to compare

Bug fixes

  • create empty div for function line that return empty string, that was causing issues with update #363
  • set classes from terminal to fake terminal that is used to calculate character size
  • don't use length css variable on formatting when length is the same as wcwidth
  • css fixes for terminal in jQuery UI dialog (dterm)

1.11.2

28 Dec 08:39
Compare
Choose a tag to compare

Bug fixes

  • fix issue with --char-width == 0 if terminal have display:none
  • fix DELETE numpad key on IE
  • ignore invalid procedures description in system.describe
  • fix font resizer and init resizers when terminal hidden initialy
  • fix broken wrapping in new feature of updating divs on resize

1.11.1

26 Dec 14:26
Compare
Choose a tag to compare

Bug fixes

  • fix IE inconsistency in key property for numpad calc keys (reported by @ovk #362
  • fix completion skipping letters (reported by @ovk #361)
  • fix issue with last character in line beeing closing braket (reported by @arucil #358)

1.11.0

17 Dec 15:57
Compare
Choose a tag to compare

Features

  • update API method accept options 3rd argument
  • speed up refresh on resize by checking character size in font resizer (reported by @artursOs)
  • change command line num chars on resize + settings.numChars (reported by @artursOs #353)
  • add remove api method that call update(line, null);
  • don't call scroll to bottom on resize/refresh/update/remove
  • improve scroll_element plugin by using document.scrollingElement if present and cache the value
  • resizer plugin use ResizeObserver if defined
  • remove fake call to finalize in echo to catch potential error
  • silent boolean 3rd argument to cmd::set and 2nd to terminal::set_command
  • handy classes to change cursor animation in IE

Bugs

  • don't prevent default scroll when terminal have no scrollbar
  • restart cursor animation on keydown (requested by @themeow on chat)
  • don't redraw whole terminal in update api method
  • show exception from onAfterRedraw on terminal
  • don't show first argument to method in help command when login is used
  • allow to call disable/focus(false) from command + fix focus(false) with single terminal
    (reported by Eric Lindgren #359)
  • fix autofocus on init

1.10.1

10 Nov 08:36
Compare
Choose a tag to compare
  • fix scroll to bottom on scrolling when terminal is disabled (reported by @RomanPerin #355)