Releases: jcubic/jquery.terminal
Releases · jcubic/jquery.terminal
1.15.0
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
1.14.0
Features
- pass options to formatters and accept option
unixFormattingEscapeBrackets
inunix_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
1.12.0
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
1.11.3
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
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
1.11.0
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