Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
## 2.46.0
### Breaking
* echo command now echo a function, and they will appear in export_view
* echo command now echoes a function, and it will appear in export_view
### Features
* terminal::animation callback now have terminal as context [#1020](https://github.com/jcubic/jquery.terminal/issues/1020)
* terminal::animation callback now has terminal as context [#1020](https://github.com/jcubic/jquery.terminal/issues/1020)
* add option to use `raw` in prompt
* Terminal::animation now have terminal as context [#1020](https://github.com/jcubic/jquery.terminal/issues/1020)
* Improve the library on Meta Quest Browser[#1023](https://github.com/jcubic/jquery.terminal/issues/1023)
* allow to change inputStyle to contenteditable for debugging mobile on desktop
* add `$.terminal.debug` hook and `terminal-debug` class for internal debugging of cmd
Expand Down Expand Up @@ -266,7 +265,7 @@
* fix selection overlap previous line
* fix scroll to bottom while animating [#791](https://github.com/jcubic/jquery.terminal/issues/791)
* fix rendering of sixel images [#824](https://github.com/jcubic/jquery.terminal/issues/824)
* fix handling promises in randerHandler
* fix handling promises in renderHandler
* fix scroll to bottom during animation [#791](https://github.com/jcubic/jquery.terminal/issues/791)
* fix `terminal::is_bottom` when using intersection observer
* fix processing \r in Linux output of unix_formatting
Expand Down Expand Up @@ -420,7 +419,7 @@
* fix echo newline when one of the values is promise or function
* fix invalid css when partial output is no longer partial
* add padding to terminal size i `term::geometry()` [#686](https://github.com/jcubic/jquery.terminal/issues/686)
* clear extended commands from view when calling `import_view` [#690](https://github.com/jcubic/jquery.terminal/issues/7690)
* clear extended commands from view when calling `import_view` [#690](https://github.com/jcubic/jquery.terminal/issues/690)

## 2.29.1
### Bugfix
Expand Down Expand Up @@ -813,7 +812,7 @@
* fix links from formatters in cmd
* fix images from formatters in cmd [#519](https://github.com/jcubic/jquery.terminal/issues/519)
* fix less [#522](https://github.com/jcubic/jquery.terminal/issues/522)
* fix recursive error when echo finalize throwed exception [#524](https://github.com/jcubic/jquery.terminal/issues/524)
* fix recursive error when echo finalize threw exception [#524](https://github.com/jcubic/jquery.terminal/issues/524)
* fix prism - xml nested formatting and weird wrapping [#523](https://github.com/jcubic/jquery.terminal/issues/523), [#410](https://github.com/jcubic/jquery.terminal/issues/410)
* limit number of characters in click on exception line [#525](https://github.com/jcubic/jquery.terminal/issues/525)
* fix less search clear on resize [#528](https://github.com/jcubic/jquery.terminal/issues/528)
Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@ git push --tags

**NOTE:** If something is wrong (e.g., Travis CI failed), the tag can be removed and a fix can be added in a new commit and the tag readded again.

* New version on GitHub is released. You need to wait a bit to have confirmationfrom CI that the build was successful. In the meantime, you can add Release Notes  on GitHub. Just click releases -> draft new release, then pick the version and copy and paste what's in the CHANGELOG.md file.
* New version on GitHub is released. You need to wait a bit to have confirmation from CI that the build was successful. In the meantime, you can add Release Notes  on GitHub. Just click releases -> draft new release, then pick the version and copy and paste what's in the CHANGELOG.md file.

* When new release is done, issues that have `resovled` label are closed.
* When new release is done, issues that have `resolved` label are closed.

* After you get confirmation that CI (travis) run successfully you can close issues
labeled with `resolved` and release to npm. By calling:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ users. It can also be used to debug your application.

You can use this JavaScript library to create a web based terminal on any website.

Because with this library you need to code all the commands yourself, you can call it fake terminal emulator. In contrast to library that will give you access to real terminal like online SSH. To have real online SSH I suggest to use [xterm.js](https://github.com/xtermjs/xterm.js) library.
Because with this library you need to code all the commands yourself, you can call it fake terminal emulator. In contrast to a library that will give you access to real terminal like online SSH. To have real online SSH I suggest to use [xterm.js](https://github.com/xtermjs/xterm.js) library.

### Features:

Expand Down Expand Up @@ -392,7 +392,7 @@ Other code used inside the project or inspired by:
* [wheel event detection](https://web.archive.org/web/20180523065743/https://developer.mozilla.org/en-US/docs/Web/Events/wheel) by MDN
* [CodeMirror](https://codemirror.net/) by Marijn Haverbeke, was inspiration for some clipboard handling solutions.

ASNSI Art used by this project
#### ANSI Art used by this project
* [Dennis Ritchie by SanderFocus](https://sanderfocus.nl/)
* [Regina Pacis by burps](https://16colo.rs/pack/fuel27/bs-pacis.ans)
* [marble by Necrofiliac](https://16colo.rs/pack/fuel27/nf-marble.ans)
Expand Down
2 changes: 1 addition & 1 deletion js/less.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* \/ /____/
* http://terminal.jcubic.pl
*
* This is example of how to create less like command for jQuery Terminal
* This is an example of how to create less like command for jQuery Terminal
* the code is based on the one from leash shell and written as jQuery plugin
*
* Copyright (c) 2018-2025 Jakub Jankiewicz <https://jcubic.pl/me>
Expand Down
2 changes: 1 addition & 1 deletion js/unix_formatting.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* \/ /____/
* http://terminal.jcubic.pl
*
* This is example of how to create custom formatter for jQuery Terminal
* This is an example of how to create custom formatter for jQuery Terminal
*
* Copyright (c) 2014-2025 Jakub Jankiewicz <https://jcubic.pl/me>
* Released under the MIT license
Expand Down
6 changes: 3 additions & 3 deletions templates/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ COMMIT=`git log -n 1 | grep '^commit' | sed 's/commit //'`
TOKEN=cat .github.token | tr -d '\n'
URL=`git config --get remote.origin.url`
skip_re="[xfi]it\\(|[fdx]describe\\("
UPDATE_CONTRIBUTORS=0
UPDATE_CONTRIBUTORS=1

.PHONY: coverage test coveralls lint.src eslint skipped_tests jsonlint publish lint tscheck publish-guthub emoji
.PHONY: coverage test coveralls lint.src eslint skipped_tests jsonlint publish lint tscheck publish-github emoji

ALL: Makefile .$(VERSION) terminal.jquery.json bower.json package.json assets/ascii_art.svg js/jquery.terminal.js js/jquery.terminal.min.js js/jquery.terminal.min.js.map css/jquery.terminal.min.css css/jquery.terminal.min.css.map css/jquery.terminal.css README.md import.html js/terminal.widget.js css/emoji.css update-contributors

Expand Down Expand Up @@ -118,7 +118,7 @@ publish:
test -e npm || $(GIT) clone $(URL) --depth 1 npm
$(CD) npm && $(NPM) publish && $(CD) .. && $(RM) -rf npm

publish-guthub: .github.token
publish-github: .github.token
$(SED) "s/{{TOKEN}}/`$(TOKEN)`/" templates/npmrc.tmpl > .npmrc
$(SED) -e "s/{{VER}}/$(VERSION)/g" templates/package.git > package.json

Expand Down
4 changes: 2 additions & 2 deletions templates/README.in
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ users. It can also be used to debug your application.

You can use this JavaScript library to create a web based terminal on any website.

Because with this library you need to code all the commands yourself, you can call it fake terminal emulator. In contrast to library that will give you access to real terminal like online SSH. To have real online SSH I suggest to use [xterm.js](https://github.com/xtermjs/xterm.js) library.
Because with this library you need to code all the commands yourself, you can call it fake terminal emulator. In contrast to a library that will give you access to real terminal like online SSH. To have real online SSH I suggest to use [xterm.js](https://github.com/xtermjs/xterm.js) library.

### Features:

Expand Down Expand Up @@ -392,7 +392,7 @@ Other code used inside the project or inspired by:
* [wheel event detection](https://web.archive.org/web/20180523065743/https://developer.mozilla.org/en-US/docs/Web/Events/wheel) by MDN
* [CodeMirror](https://codemirror.net/) by Marijn Haverbeke, was inspiration for some clipboard handling solutions.

ASNSI Art used by this project
#### ANSI Art used by this project
* [Dennis Ritchie by SanderFocus](https://sanderfocus.nl/)
* [Regina Pacis by burps](https://16colo.rs/pack/fuel27/bs-pacis.ans)
* [marble by Necrofiliac](https://16colo.rs/pack/fuel27/nf-marble.ans)
Expand Down