- fix blur when click ouside terminal when element you click is on top of terminal
- this is terminal instance inside echo function
- fix localStorage exception and empty line height while creating terminal from data URI
- refocus when click on terminal (fix for
:focus-within
)
- fix blur terminals when open context menu and then click right mouse button (sometimes last terminal didn't get disabled)
- fix backspase
- add option caseSensitiveAutocomplete default to true #332
- expose Stack/Cycle/History in $.terminal so they can be tested
- make
:focus-within .prompt
selector work with terminal (work also on codepen)
- fix jumping of terminal when created one after another and changing the one that have focus in Edge
- fix issue that all terminals was enabled not the last one created
- fix issue that on click next terminal get focused on browsers with touch screen (reported by @itsZN #330)
- fix missing default keymap in cmd plugin (found on SO by Arnaldo Montoya)
- update dterm to enable terminal when is visible (when open) using IntersectionObserver
- fix issue with focus on click on MacOS (reported by @RomanPerin #255)
- fix pasting (reported by @artursOs #331)
- fix unescaped entity error (reported by Nikolai Orekhov #333)
- fix onFocus and onBlur events
- fix blur textarea on disable
- just missed build
- fix issue with auto-enable and insert to DOM after terminal was created
- fix issue with space and dead keys (reported by David Peter)
- fix altGr+key issue reported by Erik Lilja
- don't call encode in escape_formatting (requested by @ovk)
- new API method apply_formatters
- add UMD (requested by @fazelfarajzade)
- add new events: onEchoCommand and onAfterRedraw (requested by @ovk)
- fix issue that formatters where applied to formatting (discovered by issue from @ovk)
- fix cursor over entity (mainly ) issue reported by @ovk
- fix space scroll page
- keep formatting when cursor is over one, issue reported by @Oleg on StackOverflow
- fix jumping prompt when it have newlines
- fix autofocus with position: fixes (reported by @ovk)
- fix input method using sogou keyboard on windows (reported by @hnujxm)
- fix long line wrapping and click to move cursor with wider characters like Chinese
- run fake keypress and keydown created in input when not fired by the browser (android)
- improve perfomance by calculating char size only on resize and init (issue reported by @artursOs)
- new cmd delegate method
get_position
/set_position
added to terminal - resolve promises returned from intrpreter in jQuery 2.x
- allow to use newlines in prompt
- don't rethrow user exception when exceptionHandler is set (mainly for testing that option)
- add option describe that is a string mapping procs from system.describe procs (default "procs") it can be "result" or "result.procs" if system.describe is normal JSON-RPC method
- add option to cmd::disable to not blur so it don't hide android keyboard on pause
- don't enable terminal on init on Android
- fix next key after CTRL+V that was triggering input event (reported by @artursOs)
- fix parsing strings
- don't hide virtual keyboard on Android when called pause()
- fix input on Firefox with google keyboard (reported by Filip Wieland)
- disable terminal on resume event in cordova (is the terminal is disabled when no virutal keyboard)
- fix moving cursor on click (after multiline command) and the height of the cmd plugin
- fix escape completion (that enabled by default)
- remove hardcoded DemoService from json-rpc system.describe
- don't execute keypress callback when terminal is disabled (reported by @artursOs)
- fix android (input event was not bind)
- disable keypress when you press CTRL+key and caps-lock is on (bug in firefox reported by @artursOs)
- fix context menu pasting and pasting images when terminal not in focus (thanks to Alex Molchanov for reporing a bug)
- add rel="noopener" to all links
- remove anonymous function name that was duplicating parameter with the same name that was causing error in PhantomJS (thanks to @rteshnizi for bug report)
- add paste using context menu
- fix recursive exception when
finalize
echo function throw exception - fix underline animation
- fix
wordAutocomplete
and addcompletionEscape
option (issue reported by Quentin Barrand) - improve parsing commands (it now convert "foo"bar'baz' to foobarbaz like bash)
- fix normalize and substring
- remove empty formatting in normalize function
- fix cols/rows that was causing signature to not show
- paste of images (using
echo
) in browsers that support clipboard event - add
args_quotes
toparse_/split_ command
api utilities - add
IntersectionObserver
to add resizer and call resize (not all browser support it, polyfill exists) - add
MutationObserver
to detect when terminal is added/removed from DOM and callIntersectionObserver
when added - new API utiltites
normalize
,substring
,unclosed_strings
and helperiterate_formatting
- add default formatter that handle nested formatting
- when using rpc or object interpreter it will throw exception when there are unclosed strings
- element resizer (as jQuery plugin) that work inside iframe
- remove
onPop
event from main interpreter (with null as next) - mousewheel work without jQuery mousewheel and fix jumps of text
- fix number of rows after adding underline animation
- fix outputLimit
- fix calculation of cols and rows
- strings object are not longer saved in variable on terminal creation so you can change it dynamically after terminal is created (use command to change language)
- make terminal accessible to screen readers:
- terminal focus using tab key (we can't blur on tab keybecause it's used to enter tab character or for completion)
- make command line in cmd plugin hidden from screen readers
- add role="log" to terminal-output and hide echo command, so result of command are read by screen reader but not command that user typed and prompt
- fix size with css var with underline animation
- fix minified css (
cssnano
was removing unused animations)
- fix click to change position when command have newlines
- from pauseEvents option form cmd plugin - it always execute keyboard events
- don't fire
keymap
when terminal paused - fix delete in IE11
- restore order of keymap/keydown - keydown is executed first
- fix CMD+V on MacOS chrome
- add stay option to insert same as in cmd plugin
- add option
pauseEvents
- default set to true - fix exception when calling purge more then once
- fix
history: false
option keymap
have priority overkeydown
so you can overwrite with CTRL+Dkeymap
function
- fix
echo
command when press tab twice and there are more then one completion - fix CTRL+D when paused (it now resume the interpreter)
- focus don't enable terminal when paused (it was hidden by you could enter text)
- fix moving of the content on focus/blur when command line at the bottom
- don't move cursor on click when focusing
- throw exception about key property polyfill on init of cmd plugin
- fix for Android/Chrome that have unidentified as key property for single character keys
- fix entering text in the middle on Android/Chrome
- fix backspace on Android/Chrome/SwiftKey
- fix cursor position when click on word completion on Android
- fix dead keys logic (for special keys that don't trigger keypress like delete)
- fix dead_keys logic (when keypress after special keys like arrows)
- fix paste in IE and Edge
- fix
exec
whenpause
called inonInit
- fix reverse search
- fix 3 argument in completion error
- fix login from hash for async JSON-RPC
- fix
focus(false)
/disable
inexec
from hash - fix regression of pasting in MacOS
- scroll to bottom in insert method
- remove default extra property from interpreter (all properties are saved in interperter) and make main options extra pass to intepterer not using extra property
- fix completion when text have spaces (escaped or inside quotes)
- fix dead keys on MacOSX (testing shortcuts now require keydown and keypress events)
- fix AltGr on non US keyboard layouts
- fix CTRL+D to delete forward one character
- don't use user agent sniffing to get scroll element if terminal attached to body
- fix & on French layout
- fix keypress with key polyfill
- fix CTRL+V in Firefox and IE
- fix issue in jQuery >= 3.0
- fix space, backspace, resize and arrows in IE
- fix middle mouse paste on GNU/Linux
- fix signature
- copy to system clipboard when copy to kill area
- simplify changing of terminal colors using css variables
- always export history and import when importHistory option is true
- add bar and underline cursor animations and a way to enable it with single css variable
- recalcualate
cols
androws
on terminal resize (not only window) request
/response
andonPush
/onPop
callbacks- all callbacks have terminal as
this
(terminal in parameter stay the same) - add option softPause to control pause visible option - it don't hide the prompt when set to true
- add wordAutocomplete option (default true)
- add complete and
before_cursor
api methods and use it for autocomplete - formatting for command line (you can't type formatting but you can use $.terminal.formatters to
- format command you're writing)
- new option formatters for echo (error method by default disable formatters)
- interpeter and terminal accept extra option that can be use in onPop or onPush
- add
keymap
option to cmd, terminal and interpreter where you can add shortcuts - clicking on character, in cmd plugin, move cursor to that character
- fix width calculation with scrollbar visible
- fix exception in Firefox throw by setSelectionRange in caret plugin
- make
echo
sync whenecho
string or function (flush didn't work on codepen) - fix
onCommandChange
callback on backspace - Don't echo extended commands on resize
- use
JSON.parse
to process strings when parsing command line - fix rpc in array when there are no system.describe
- call exeptionHandler on every exception (even iternal)
- fix echo resolved content when interpreter return a promise
- fix for valid
/[/]/g
regex - fix pushing JSON-RPC intepreter
- fix selection in IE
- clear selection when click anywhere in the terminal
- fix removing global events on terminal destroy
- don't execute javascript file when fetching line that trigger exception in browser that have fileName in exception (like Firfox)
- completion function now have two arguments string and callback and terminal is in this
- removed
setInterpreter
,parseArguments
,splitArguments
,parseCommand
andsplitCommand
- if you execute keydown event manualy to trigger terminal/cmd shortcuts you need to pass key property with key name (see spec/terminalSpec.js file)
- add
scrollBottomOffset
option
- scroll to bottom of the terminal when option scrollOnEcho is set to false but the terminal is at the bottom
- add new api methods
is_bottom
andscroll_to_bottom
- don't scroll to terminal (using caret plugin) when it's disabled
- don't convert links to formatting when raw option is true
- fix getting data from local storage
- remove spell check and auto capitalize from textarea
- fix input method
- fix
echo
when line is short and have newlines
- add versioned files to npmignore
- add global and echo option wrap to disable long line wrapping
- don't send warning when mime for JSON-RPC is text/json
- replace
json_stringify
withJSON.stringify
- fix focus on desktop
- allow only memory storage with memory option set to true
- fix focus on mobile
- fix do not enable the terminal on click if it's frozen
- fix focus on click
- fix
outputLimit
option
- add
scrollOnEcho
option
- fix
History::last
- fix
flush
- new API method
$.terminal.last_id
- fix focus on Android
- allow to change
completion
using option API method
- add
echoCommand
option
- allow to select text using double click
- fix
exec
login from hash - allow to pause with visible command line
- new api method
clear_history_state
- fix default prompt for push
- add
word-wrap: break-word
for cases when echo html that have long lines - fix
login
function as setting when used with JSON-RPC - add help command to JSON-RPC when there is
system.describe
- fix
exec
array and delayed commands (when youexec
and don't wait for promise to resolve) - fix double cursor in terminals when calling resume on disabled terminal
- fix calling
login
after pop from login - add
infiniteLogin
option to push - fix
exec
after init when used with JSON-RPC withsystem.describe
- make
set_interpreter
return terminal object logout
whenonBeforeLogin
return false- fix backspace in Vivaldi browser by keeping focus in textarea for all browsers
- new API method
last_index
- alow to remove the line by passing null as replacement to update function
- fix number of characters per line
- fix paste on MacOSX
- fix css animation of blinking in minified file
- fix check arity for nested object; throw error when calling
logout
inlogin
- escape brackets while echo completion strings
- fix issue with jQuery Timers when page included another jQuery after initialization
- add mangle option to uglifyjs
- fix if interpreter is an array and have function
- fix overwriting of
exit
andclear
commands
- prevent infinite loop in
terminal::active
when no terminal
- change -min to .min in minfied versions of files
- make npm happy about version
- Add minified css file
- fix url regex for formatting
- keepWords option to echo and words parameter in
split_equal
- fix
login
for nested intepreters - fix
destroy
ofcmd
plugin - fix saving commands in hash
- allow to disable completion in nested interpreter
- change position of cursor in reverse history search
- fix pasting in Firefox
exec
is adding command to history- fix execHash in FireFox
- testsing terminal and
cmd
plugin + call from command line - fix
exec
for nested login rpc command - fix
exec
from hash if commands use pause/resume - fix
exec
for build in commands - fix other various
exec
from hash issues - fix local
logout
andlogin
commands mousewheel
andresize
options for interpreter- use MIT license
onExport
andonImport
events
- change
settings
to method - fix
process_commands
and escape_regex - fix
login
from hash - fix raw
echo
- don't print empty string after removing extended commands strings
- fix
history_state
method
- don't change command line history if ctrl key is pressed
- fix middle mouse copy on GNU/Linux
- fix resize issue
- freeze and frozen API methods that disable/enable terminal that can't be enabled by click
- use url hash to store terminal session
- fix
export/import
- focus/blur on Window focus/blur
- allow to change mask char for passwords
- fix space after completed command and in ALT+D
- class .command in div created by echo command, and error class in error function
- CSS selection is now one solid color, also support h1..h6, tables and pre tags
- fix ANSI Formatting bug
- regex as History Filter
- custom Formatters
raw
andglobalToken
options- fix encoding entites
- allow to echo jQuery promise
exec
return promise,exec
with array of commands- auto
resume/pause
if user code return promise - mobile (tested on Android) - users report that it don't work - need testing
- functions splitCommand, parseCommand, splitArguments, parseArguments changed to kebab case, but the old functions are kept for backward compatibility
- new API method
read
(wrapper overpush
),autologin
andupdate
- extended commands with syntax
[{ }]
- fix 2 json rpc bugs
- fix processing command function
- one space after fully completed command
- all regex for formatting case insensitive
- fix redraw lines on
import_view
, fix calculating rows
- fix
completion
in nested interpreters login
option in push- remove pause/resume from login
- fix parsing RegExes
- fix display text with more then limit lines in one echo
- add
Terminal::exception
function
- fix
login/logout
- CTRL+L clear terminal
- Shift+Enter insert newline
- remove
tabcompletion
option (nowcompletion
can be true, array or function) - add
onRPCError
andexceptionHandler
callbacks - interpreter can be an array
- ignoreSystemDescribe option
- handle invalid JSON-RPC
- CSS style for standalone cmd plugin
- using CSS3 Animation for blinking if supported
- fix
[0m
- better error handling (all messages are in
$.terminal.defaults.strings
) - named colors for terminal formatting
- expose
settings
andlogin
function - more tools in
$.terminal
- paste kill text with CTRL+Y
- paste text from selection using middle mouse button
- fix login, history and exec
- disable few things when in login function
- all Strings are in $.terminal.defaults.strings
- more functions in $.terminal object
- fix terminal when start as invisible, rest property to parseCommand
- fix last history command
- fix reverse search
- Don't show version when use source file
- Allow to call
$.terminal.active()
inprompt
- fix long line wrap on Init, don't call
termina::resize
on init
- fix small errors and typos
- fix
flush
, add optionlinksNoReferer
- fix interpreter when there is not
system.describe
in JSON-RPC - add method
flush
and fix refresh
- add ANSI 256 (8bit) formatting from Xterm
- fix Regexes
- add ntroff formatting support (output from man)
- fix
purge
, json-rpc, history. Improve json-rpc and add check arity
- add tests
- terminal without eval
- fix issue with umpersand (unenclosed entinity) in multiline
- add
outputLimit
, add methoddestroy
- add utilities
parseArguments
,splitArguments
,parseCommand
andsplitCommand
to$.terminal
- allow to overwrite, by user, parsing commands in object as eval
- make
cmd
chainable - fix command line (interepters) names for localStorage use
- fix Login/Token LocalStorage names
- add method
purge
(that clear localStorage) - convert escaped hex and octals in double quoted strings as chars
- fix Tilda on Windows
- more ANSI codes
- complete common string on TAB
- fix cancel ajax on CTRL+D when paused
finalize
andraw
options inecho
- fix regexes, CMD+`, CMD+R, CMD+L on Mac, fix Resize if terminal is hidden, fix wrap ANSI formatting
- fix arguments in automatic JSON-RPC
- fix arguments in object as eval, new option processArguments
- fix first
echo
(like greetings)
- fix formatting with links and emails and long lines
- history is a list with command as last element
- history have size
- You can type more characters in reverse search if command not found
export/import
nResize
event
- fix scroll when attaching terminal to body in non Webkit browsers
level
api function- restore mask on pop
- click out of terminal remove focus
- CTRL+H CTRL+W
- use selector as default name for the terminal
- fix entity in lines
- add data-text attribute to formatting span
- function in push
- allow to put braket in formatting (closed with escape)
- print nested object in automatic rpc
- terminal instance in login callback
- tab completion work with callback function
push
command allow for objects- add CTRL+G to cancel Reverse Search
- fix Style
- Small fixes
- add
exec
,greetings
,onClear
,onBlur
,onFocus
,onTerminalChange
- add support for ANSI terminal formatting
- fix cancelable ajax on
- add CTRL+D
- replace emails with link mailto
- remove formatting processing from command line
- add text glow option to formatting
- fix scrollbar, better exceptions in chrome, replace urls with links
- one style for font and color in root
.terminal
class
- fix IE formatting issue by adding cross-browser split
- add reverse history search on CTRL+R
- fix cancel ajax call on CTRL+D
- only one command from multiply commands is added to history
- CTRL+D is handled even if exit is false
- terminal don't add space after prompt (prompt need to add this space)
- fix
historyFilter
- remove
livequery
history
returnhistory
object- add
historyFilter
- new event
onCommandChange
that executescroll_to_bottom
- add event
onBeforeLogin
- fix blank lines when echo longer strings
- fix long line formatting and linebreak in the middle of formatting
- fix wrap first line when prompt contain formatting
- fix alt+d and ctrl+u
- fix inserting special characters in Webkit on Windows
- remove undocumented pipe operator
- refreash prompt on resume
- fix line wrapping when text contains tabulations
- fix line wrapping with scrollbars
- fix JSON-RPC when use without login
- fix formatting when text contain empty lines
- fix formatting when text contains newline characters
- fix text formating when text splited into more then one line
- you can pass nested objects as first argument
- add tab completion with object passed as first argument
- fix cursor manipulation when command contain new line characters
- fix function
terminal.login_name
- fix switch between terminals - when terminal is not visible scroll to current terminal
- fix scrolling in jQuery 1.6
- fixing PAGE UP/DOWN
- fixing cursor in long lines
- fixing small bugs, speed up resizing
- fix resizing on start and issue with greetings
- add formating strings to set style of text.
- add to
echo
a function which will be called when terminal is resized
- fix manipulation of long line commands
- add callbacks and new functions
- you can now overwrite keyboard shortcuts
- resizing recalculates lines length and redraw content
- if you create plugin for elements that are not in the DOM
- and then append it to DOM it's display corectly
- put all dependencies in one file
- Default greetings show terminal signature depending on width of terminal
- use Local Sorage for command line history if posible
- remove access to command line (cmd plugin) and add interface to allow interact with it
- fix append enter character (0x0D) to the command (thanks to marat for reporting the bug)
- update mousewheel plugin which fix scrolling in Opera (Thanks for Alexey Dubovtsev for reporting the bug)
- fix cursor in IE in tilda example
- fix json serialization in IE
- fix demos and clipboard textarea transparency in IE
- fix long lines in command line issue
- fix Terminal in Internet Exporer
- fix blank line issue (thanks to Chris Janicki for finding the bug)
- fix CTRL + Arrows scroll on CTRL+V
- allow CTRL+W CTRL+T
- fix for
"(#$%.{"
characters on Opera/Chrome - add cursor move with CTRL+P, CTRL+N, CTRL+F, CTRL+B which also work in Chrome fix Arrow Keys on Chrome (for cursor move and command line history)
- change License to LGPL3.
- fix down-arrow/open parentises issue in Opera and Chrome
- add support for paste from clipboard with CTRL+V (Copy to clipboard is always enabled on websites)