Releases: jcubic/jquery.terminal
Releases · jcubic/jquery.terminal
2.3.0
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
"e;
entity in formatting tag data-text attribute (it should be"
)
2.2.0
2.1.2
2.1.1
2.1.0
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
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)
2.0.1
Bugfix
- fix focus to textarea or input that was printed using terminal echo function (reported as question on SO)
- fix cutting of bottom part of greetings lines in Firefox
- fix keep focus into cursor feature added in 2.0 (up arrow was causing scroll to top) report in firebase chat
- don't add empty string to history
- fix bottom padding in FireFox
- don't overwrite wildcard selector that change font with wildcard selector (reported by @ovk on gitter)
- fix
return true
in mousewheel it now disable JavaScript scrolling (reported by @ovk on gitter) - fix size down to
--size: 0.6
2.0.0
Breaking
- from now on if terminal is added to body it's in fact added to div inside body (the API didn't changed)
$('body').terminal().is('body');
will be false
Features
- new option repeatTimeoutKeys with default of HOLD+BACKSPACE that should have delay when deleting words
- use setTimeout instead of alert to show exception that can be shown in terminal
- allow to move cursor when regex formatter don't change length of the string
- don't style links if they don't have href
- new plugin isFullyInViewport (link to source in comment)
- scroll terminal to always view cursor in multiline command
- add onPositionChange to option to terminal
- add tabindex option to cmd and terminal
Bugfix
- fix delay when using arrow keys by filtering keys that have delay when hold
- fix skipping lines that have emoji as last character inside formatting
- fix cursor over tab
- fix tracking replace for emoji and extra chars when adding formatting multiple times
- fix inconsistency of cursor on background formatting between Windows and Linux
- fix echo newline as first character of formatting
- fix slash as last character in formatting when generation command line with slash and cursor just after
- fix escape bracket in command line
- fix relative and absolute urls with default
anyLinks: false
- fix android and iPhone issues #443 #414
- fix ANSI escapes in unix_formatting $444
- fix jumping cursor when there are no text before cursor line in Chrome
- fix selection menu in latest Android
- fix wrong number of chars per line when insert called after init and scrollbar appear
- fix missing cursor when init cmd plugin (without calling refresh)
- fix issue with function prompt not updating after resume