dispel 0.0.0 → 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 43be2a0f31061504e3924a3dfc5f3b0ce4fb7de2
4
- data.tar.gz: 3935dc92f5658964747ffe18b87d8bc15aa42cf0
3
+ metadata.gz: 4ed33d439836221d928810d9b299e39403683091
4
+ data.tar.gz: dda5b216de46c2e5d40274decae00e6e9fd23fb2
5
5
  SHA512:
6
- metadata.gz: 76f2f8a256c4a07ab5e2c2df074d8ef04a1f43707b6a980bec6d7ef10ad46bad4158935c87acf1cc3fbf03be24edcb6263854b87a625366b5d21a3b6b76dc029
7
- data.tar.gz: f6ad5c7ab269a2e402b842224de4c9436f84ebdaf6b37cffcc82d38d569ebfef9a07715eaca5f9716c52694e439234e0a6931ec341f351e6bdf1dc5f6cd08c08
6
+ metadata.gz: c6eed6e4a0660ee51c74a60bbc628fe53738582252ee37ff53ef70ccb8601f55b8006c10a5a81390f686f35a3675a479760380c59dbc684ac1f5e78b0d0fc988
7
+ data.tar.gz: 2d38879e158d5cfbc70d3e58ac7ef0489def7c4bd17fd426025ec0914076be479b52a23cf442fdbfc050320949ff96d8405c4f7551ee49d01f644a4857d0a109
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -39,9 +39,9 @@ module Dispel
39
39
  @cache.clear
40
40
  end
41
41
 
42
- def draw(view, style_map=[], cursor=nil)
42
+ def draw(view, style_map=[], cursor=[0,0])
43
43
  draw_view(view, style_map)
44
- Curses.setpos(*cursor) if cursor
44
+ Curses.setpos(*cursor) # cursor has to always be set or it ends in random position
45
45
  end
46
46
 
47
47
  def debug_key(key)
@@ -1,3 +1,3 @@
1
1
  module Dispel
2
- VERSION = "0.0.0"
2
+ VERSION = "0.0.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dispel
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.0
4
+ version: 0.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Grosser
metadata.gz.sig CHANGED
Binary file