From c0e2d8959bbf459ea10f342c45ad98a7bcad4595 Mon Sep 17 00:00:00 2001 From: Florian Mounier Date: Mon, 18 Jan 2016 10:19:01 +0100 Subject: [PATCH] Merge #94 --- .gitignore | 1 + Gruntfile.coffee | 2 +- coffees/ext/theme.coffee | 2 +- coffees/term.coffee | 3 +-- setup.cfg | 2 ++ 5 files changed, 6 insertions(+), 4 deletions(-) create mode 100644 setup.cfg diff --git a/.gitignore b/.gitignore index d4d08e9..1418837 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ node_modules/ *.map sass/scss *.egg-info/ +build/ diff --git a/Gruntfile.coffee b/Gruntfile.coffee index 466e0de..3247ba8 100644 --- a/Gruntfile.coffee +++ b/Gruntfile.coffee @@ -36,7 +36,7 @@ module.exports = (grunt) -> coffeelint: butterfly: - 'coffees/*.coffee' + 'coffees/**/*.coffee' watch: options: diff --git a/coffees/ext/theme.coffee b/coffees/ext/theme.coffee index 0676f5c..1446a4c 100644 --- a/coffees/ext/theme.coffee +++ b/coffees/ext/theme.coffee @@ -3,7 +3,7 @@ _set_theme_href = (href) -> img = document.createElement('img') img.onerror = -> setTimeout (-> butterfly?.resize()), 250 - img.src = href; + img.src = href _theme = localStorage?.getItem('theme') _set_theme_href(_theme) if _theme diff --git a/coffees/term.coffee b/coffees/term.coffee index ee0cf62..b2b7bd4 100644 --- a/coffees/term.coffee +++ b/coffees/term.coffee @@ -2455,8 +2455,7 @@ class Terminal # motion: ^[[b;x;yT when 25 # show cursor @cursorHidden = false - # alt screen buffer cursor - #@saveCursor(); + when 1049, 47, 1047 # alt screen buffer unless @normal normal = diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..2a9acf1 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,2 @@ +[bdist_wheel] +universal = 1