smooth_terminal_print 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/smooth_terminal_print.rb +1 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9e6ca0f0a931d1f8ef5841856b15bb96a31feada
4
- data.tar.gz: 445bb812683f1cd96f7a829f115a0a130ebcb2b6
3
+ metadata.gz: e5ebf9a35ab3efc109bd2fa33457798b8b06d488
4
+ data.tar.gz: 12bccbd3291b914f46ff1001940edc221d5d9e86
5
5
  SHA512:
6
- metadata.gz: 8c7a6953cf99006aa1117e0de6d3f16edb061ea4ccaf9ab8e1ea30404f905f81b7dd4f1922bce177605fd4f62528ce2d94a9b1769ab85b85652e618a7f9734cb
7
- data.tar.gz: a00a773e61395bc3eeedca1f03ae70db6a0417292601b3fdb6a4b4b717b86c8ddfd6a2a3b1647eb749321f873dae51b3dc7cb0ea6e9cb1253bddcbdfbfe81957
6
+ metadata.gz: 4bc5590574bf1e85aeba89446487a16d235448dff3e393da9dae4bb56494c408cfa4fabdc585f2f49028f315592ea384eb413d545bfbd1620b283b96d6ea7a9a
7
+ data.tar.gz: f09acd0d1b1d6df9492c85bd702933f4d8fd569fb74504fc603260598685d0021b4cbca10e76537ef617be54c73e605fe7ec77292e045f5b5e432b26f2c8af80
@@ -51,7 +51,7 @@ module SmoothTerminalPrint
51
51
  if(@stp_reset_timer == nil || Time.now.to_i - @stp_reset_timer > 3)
52
52
  old_num_lines = @num_lines
53
53
  old_num_cols = @columns
54
- @num_lines = (`tput lines`).strip.to_i - 5
54
+ @num_lines = (`tput lines`).strip.to_i - 2
55
55
  @columns = `tput cols`.strip.to_i - 5
56
56
 
57
57
  if(old_num_lines != @num_lines || old_num_cols != @columns)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smooth_terminal_print
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brett Sykes
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-06 00:00:00.000000000 Z
11
+ date: 2016-05-11 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Allows the user to smoothly print to the terminal while in a tight loop
14
14
  email: brettcsykes@gmail.com