Skip to content

Commit

Permalink
fix cursor when command line is empty
Browse files Browse the repository at this point in the history
  • Loading branch information
jcubic committed Sep 17, 2018
1 parent d8eefa3 commit 3dc992b
Show file tree
Hide file tree
Showing 18 changed files with 82 additions and 78 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,7 @@
## 1.23.1
### Bugfix
* fix cursor when terminal is empty

## 1.23.0
### Features
* ES6 iterator helper that iterate over string that handle formatting, emoji and extra chars
Expand Down
2 changes: 1 addition & 1 deletion Makefile
@@ -1,4 +1,4 @@
VERSION=1.23.0
VERSION=1.23.1
SED=sed
CD=cd
NPM=npm
Expand Down
18 changes: 9 additions & 9 deletions README.md
Expand Up @@ -4,13 +4,13 @@
__ / / // / // / _ / _/ // / / / _ / _/ / / \/ / _ \/ /
/ / / // / // / ___/ // // / / / ___/ // / / / / /\ / // / /__
\___/____ \\__/____/_/ \__ / /_/____/_//_/_/_/_/_/ \/\__\_\___/
\/ /____/ version 1.23.0
\/ /____/ version 1.23.1
```
http://terminal.jcubic.pl

[![npm](https://img.shields.io/badge/npm-1.23.0-blue.svg)](https://www.npmjs.com/package/jquery.terminal)
![bower](https://img.shields.io/badge/bower-1.23.0-yellow.svg)
[![travis](https://travis-ci.org/jcubic/jquery.terminal.svg?branch=master&2c3fc5357cca736c6e44e4f748395e89cceac4f8)](https://travis-ci.org/jcubic/jquery.terminal)
[![npm](https://img.shields.io/badge/npm-1.23.1-blue.svg)](https://www.npmjs.com/package/jquery.terminal)
![bower](https://img.shields.io/badge/bower-1.23.1-yellow.svg)
[![travis](https://travis-ci.org/jcubic/jquery.terminal.svg?branch=master&d8eefa3a5f8abb7061a1bd5079a43ca91acdfb90)](https://travis-ci.org/jcubic/jquery.terminal)
[![Coverage Status](https://coveralls.io/repos/github/jcubic/jquery.terminal/badge.svg?branch=master&7847b0905d8bc1904283a714536c2352)](https://coveralls.io/github/jcubic/jquery.terminal?branch=master)
![downloads](https://img.shields.io/npm/dm/jquery.terminal.svg?style=flat)
[![package quality](http://npm.packagequality.com/shield/jquery.terminal.svg)](http://packagequality.com/#?package=jquery.terminal)
Expand Down Expand Up @@ -75,20 +75,20 @@ Include jQuery library, you can use cdn from http://jquery.com/download/
```


Then include js/jquery.terminal-1.23.0.min.js and css/jquery.terminal-1.23.0.min.css
Then include js/jquery.terminal-1.23.1.min.js and css/jquery.terminal-1.23.1.min.css

You can grab the files from CDN:

```html
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.terminal/1.23.0/js/jquery.terminal.min.js"></script>
<link href="https://cdnjs.cloudflare.com/ajax/libs/jquery.terminal/1.23.0/css/jquery.terminal.min.css" rel="stylesheet"/>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.terminal/1.23.1/js/jquery.terminal.min.js"></script>
<link href="https://cdnjs.cloudflare.com/ajax/libs/jquery.terminal/1.23.1/css/jquery.terminal.min.css" rel="stylesheet"/>
```

or

```html
<script src="https://cdn.jsdelivr.net/npm/jquery.terminal@1.23.0/js/jquery.terminal.min.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/jquery.terminal@1.23.0/css/jquery.terminal.min.css">
<script src="https://cdn.jsdelivr.net/npm/jquery.terminal@1.23.1/js/jquery.terminal.min.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/jquery.terminal@1.23.1/css/jquery.terminal.min.css">
```

If you always want latest version, you can grab the files directly from github using rawgit.com (that service grab the files from github and use propert MIME type so you can use it in your page, you can also grab from devel branch):
Expand Down
2 changes: 1 addition & 1 deletion bower.json
@@ -1,6 +1,6 @@
{
"name": "jquery.terminal",
"version": "1.23.0",
"version": "1.23.1",
"main": [
"js/jquery.terminal.min.js",
"js/jquery.mousewheel-min.js",
Expand Down
Expand Up @@ -4,15 +4,15 @@
* __ / // // // // // _ // _// // / / // _ // _// // // \/ // _ \/ /
* / / // // // // // ___// / / // / / // ___// / / / / // // /\ // // / /__
* \___//____ \\___//____//_/ _\_ / /_//____//_/ /_/ /_//_//_/ /_/ \__\_\___/
* \/ /____/ version 1.23.0
* \/ /____/ version 1.23.1
* http://terminal.jcubic.pl
*
* This file is part of jQuery Terminal.
*
* Copyright (c) 2011-2018 Jakub Jankiewicz <http://jcubic.pl>
* Released under the MIT license
*
* Date: Mon, 17 Sep 2018 21:47:37 +0000
* Date: Mon, 17 Sep 2018 22:01:48 +0000
*/
.terminal .terminal-output .format, .cmd .format,
.cmd .prompt, .cmd .prompt div, .terminal .terminal-output div div{
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions css/jquery.terminal.css
Expand Up @@ -4,15 +4,15 @@
* __ / // // // // // _ // _// // / / // _ // _// // // \/ // _ \/ /
* / / // // // // // ___// / / // / / // ___// / / / / // // /\ // // / /__
* \___//____ \\___//____//_/ _\_ / /_//____//_/ /_/ /_//_//_/ /_/ \__\_\___/
* \/ /____/ version 1.23.0
* \/ /____/ version 1.23.1
* http://terminal.jcubic.pl
*
* This file is part of jQuery Terminal.
*
* Copyright (c) 2011-2018 Jakub Jankiewicz <http://jcubic.pl>
* Released under the MIT license
*
* Date: Mon, 17 Sep 2018 21:47:37 +0000
* Date: Mon, 17 Sep 2018 22:01:48 +0000
*/
.terminal .terminal-output .format, .cmd .format,
.cmd .prompt, .cmd .prompt div, .terminal .terminal-output div div{
Expand Down

0 comments on commit 3dc992b

Please sign in to comment.