kittikrb-cursor 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ MmNlYmQ1YTNkYWY0YmNhMTVjMGRkOTdjN2ZlZTgxYmFhZmRjMTliNg==
5
+ data.tar.gz: !binary |-
6
+ MDg2ODQ1ZTUyMDU2Mjk3ODIwMGJiZGNjOTU1MjJmZjQ3NWMzN2MyZQ==
7
+ SHA512:
8
+ metadata.gz: !binary |-
9
+ ODUyZjI5YjQ1MjZlNmVmMWQ2NTJhM2JiYTI2MzA1YTk4Y2RmZGM5OGQ5OGU1
10
+ NDhmYThlZmUzNGQ2MDVlMGNiNDJkOWFiNmRhYmU5Njc5ZTkxMTBkMDBiNzBj
11
+ MmMxMDMxZTBmNTA4YTMwMDk2ZTFkYWQzMDNmNDM4YmFhMDAwZjc=
12
+ data.tar.gz: !binary |-
13
+ ZjIwMTk1YzFjNmI5NzEzNDIyNjFmYmJlMDNiNTg4MzI4OTFjZGJhZDcxYzkw
14
+ Yzg2OGFmZWQ3MDUzNDAyMGU5YzdjZjVkOThjMmIxZDVkNTI3YjIyOTIwNTEz
15
+ NjkzYjE0MWM5MThjZTE1ZmM5ODNiOWRiNzA0MzZkMWUyODhmYzE=
data/.editorconfig ADDED
@@ -0,0 +1,9 @@
1
+ # http://editorconfig.org
2
+ root = true
3
+
4
+ [*]
5
+ indent_style = space
6
+ indent_size = 2
7
+ charset = utf-8
8
+ trim_trailing_whitespace = true
9
+ insert_final_newline = true
data/.gitignore ADDED
@@ -0,0 +1,10 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+ /.byebug_history
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --format documentation
2
+ --color
data/.travis.yml ADDED
@@ -0,0 +1,17 @@
1
+ language: ruby
2
+ sudo: false
3
+ cache: bundler
4
+ rvm:
5
+ - 2.3.0
6
+ - 2.2
7
+ before_install: gem install bundler -v 1.10.6
8
+ gemfile:
9
+ - Gemfile
10
+ deploy:
11
+ provider: rubygems
12
+ api_key:
13
+ secure: dIcDqN4zjlei9rpB227rijtPZhFAmB/SeOYnjJ8FYmPSvEOv5L51PdTCMZqk42gyQ4WPU25MPoLqSB2oYY1wIyDVoAqtGjdv482w7Ifo5uifs+eLD4nhcTKu3z2wX1upV5JtGKNNG9BgAHBSXEnpdx6QMsjCPE/pEHLZ+JD4ToepnyIo0MV+uoO/DozckAWuBiIJh33bDY51kPNYzc7T9mONsVk5RMGglXbUZPAOpmKC7SLsYngXgjomSqb1RIR6gKVEluwffykci6TttozgwWE5+NyvvCs3hhCQHuI28iUIP/e81imXDNnCDt9gkG+0B8nDS0l7l+vXs5RSOycOowLmwhs8l1JbwIpD6duwUhIBWKYEkFNJHw7OYnkyGDRlpQNbN1Y42ZB1/+QalN2BhvmOzYq9oEN2gYbYqRQTI8DKjYwav/3zZjKOrsEaDY/H+myQxuVu+Li9uxBCkkxdxDySCy5/8YOZaxvgbZxeQEoPCDb0lj2gWBFLdcfdcWt6vmtN9suDqzaqlOdvyIKg+JKM0Oo1wrJReYyu0Axx0DlgYjkaZEu5pScLz1FKG0BcV8q/bjG9Zl/SOMsIOcYQnd5hBU90L3pfRDyFXIauSTZIDkNHfiB05m7Y3jBjDHoX2tBRQujea1lsDty2w61yO/g86hwLV6/eYO6B0hM+dAo=
14
+ gem: kittikrb-cursor
15
+ on:
16
+ tags: true
17
+ repo: kittikrb/cursor
@@ -0,0 +1,13 @@
1
+ # Contributor Code of Conduct
2
+
3
+ As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
4
+
5
+ We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, ethnicity, age, or religion.
6
+
7
+ Examples of unacceptable behavior by participants include the use of sexual language or imagery, derogatory comments or personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.
8
+
9
+ Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed from the project team.
10
+
11
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers.
12
+
13
+ This Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.0.0, available at [http://contributor-covenant.org/version/1/0/0/](http://contributor-covenant.org/version/1/0/0/)
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in kittikrb-cursor.gemspec
4
+ gemspec
data/LICENSE ADDED
@@ -0,0 +1,22 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2015-2016 Eugene Obrezkov
4
+ Copyright (c) 2016 Vladyslav Siriniok and KittikRb contributors
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in all
14
+ copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,41 @@
1
+ # KittikRb::Cursor
2
+
3
+ ![Build Status](https://img.shields.io/travis/kittikrb/cursor.svg)
4
+
5
+ Implements low-level API for access to cursor in terminal.
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'kittikrb-cursor'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install kittikrb-cursor
22
+
23
+ ## Usage
24
+
25
+ ```ruby
26
+ require 'kittikrb/cursor'
27
+
28
+ cursor = KittikRb::Cursor.create.reset_tty!
29
+ ```
30
+
31
+ See detailed usage examples in `examples` directory.
32
+
33
+ ## Development
34
+
35
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
36
+
37
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
38
+
39
+ ## Contributing
40
+
41
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/kittikrb-cursor. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](contributor-covenant.org) code of conduct.
data/Rakefile ADDED
@@ -0,0 +1,6 @@
1
+ require 'bundler/gem_tasks'
2
+ require 'rspec/core/rake_task'
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task default: :spec
data/bin/console ADDED
@@ -0,0 +1,19 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'bundler/setup'
4
+ require 'kittikrb/cursor'
5
+ require 'pry'
6
+ require 'awesome_print'
7
+
8
+ def reload!
9
+ $LOADED_FEATURES.select { |feat| feat =~ /\/kittikrb\// }.each(&method(:load))
10
+ end
11
+
12
+ def run
13
+ KittikRb::Cursor.create
14
+ end
15
+
16
+ AwesomePrint.defaults = { indent: -2 }
17
+ AwesomePrint.pry!
18
+
19
+ Pry.start
data/bin/setup ADDED
@@ -0,0 +1,7 @@
1
+ #!/bin/bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+
5
+ bundle install
6
+
7
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,33 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'kittikrb/cursor/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = 'kittikrb-cursor'
8
+ spec.version = KittikRb::Cursor::VERSION
9
+ spec.date = Date.today.to_s
10
+ spec.authors = ['Vladyslav Siriniok']
11
+ spec.email = ['siriniok@gmail.com']
12
+ spec.license = 'MIT'
13
+ spec.summary = %q{ Low-level API for cursor in terminal.' }
14
+ spec.description = %q{ Implements low-level API for access to cursor in
15
+ terminal.' }
16
+ spec.homepage = 'https://github.com/kittikjs/cursor'
17
+ spec.required_ruby_version = '~> 2.2'
18
+ spec.required_rubygems_version = '~> 2.2'
19
+
20
+ spec.files = `git ls-files -z`.split("\x0").reject do |file|
21
+ file.match(%r{^(test|spec|features|examples)/})
22
+ end
23
+
24
+ spec.require_paths = ['lib']
25
+
26
+ spec.add_development_dependency 'bundler', '~> 1.10'
27
+ spec.add_development_dependency 'rake', '~> 10.0'
28
+ spec.add_development_dependency 'rspec', '~> 3.4'
29
+ spec.add_development_dependency 'pry', '~> 0.10'
30
+ spec.add_development_dependency 'pry-stack_explorer', '~> 0.4'
31
+ spec.add_development_dependency 'pry-byebug', '~> 3.3'
32
+ spec.add_development_dependency 'awesome_print', '~> 1.6'
33
+ end
@@ -0,0 +1,148 @@
1
+ require 'kittikrb/cursor/core_ext/hash'
2
+
3
+ require 'kittikrb/cursor/version'
4
+ require 'kittikrb/cursor/colors'
5
+ require 'kittikrb/cursor/display_modes'
6
+
7
+ require 'set'
8
+ require 'io/console'
9
+
10
+ ##
11
+ # Cursor implements low-level API to terminal control codes.
12
+ # See links below for details:
13
+ # http://www.termsys.demon.co.uk/vtansi.htm
14
+ # http://misc.flogisoft.com/bash/tip_colors_and_formatting
15
+ # http://man7.org/linux/man-pages/man4/console_codes.4.html
16
+ # http://www.x.org/docs/xterm/ctlseqs.pdf
17
+
18
+ module KittikRb
19
+ module Cursor
20
+
21
+ def self.create
22
+ Cursor.new
23
+ end
24
+
25
+ class Cursor
26
+ include KittikRb::Cursor::Colors
27
+ include KittikRb::Cursor::DisplayModes
28
+
29
+ DISPLAY_CONFIG = {
30
+ bold: false,
31
+ dim: false,
32
+ underlined: false,
33
+ blink: false,
34
+ reverse: false,
35
+ hidden: false
36
+ }
37
+ ESCAPE_CHAR = "\e"
38
+
39
+ # Only for compatibility with KittikJs API
40
+ def self.encode_to_vt100(str)
41
+ ESCAPE_CHAR + str
42
+ end
43
+
44
+ # Wrap char with all control codes needed for rendering the cell.
45
+ # Returns ready to flush string with ASCII control codes
46
+ def self.wrap(char, options = {})
47
+ wrap_position(options[:x], options[:y]) <<
48
+ wrap_ground_colors(options.slice(:background, :foreground)) <<
49
+ wrap_display_modes(options[:display] || {}) <<
50
+ char <<
51
+ wrap_display_modes(reset_all: true)
52
+ end
53
+
54
+ def initialize
55
+ @height, @width = $stdout.winsize
56
+ @x, @y = 0, 0
57
+ @background, @foreground = false, false
58
+ @display = DISPLAY_CONFIG
59
+ @buffer = Array.new(@width * @height, ' ')
60
+ update_rendered_buffer!
61
+ end
62
+
63
+ # Build control sequence for each cell in data and write it to the buffer.
64
+ def write(data)
65
+ data.chars.each do |char|
66
+ if cursor_in_bounding_box?
67
+ options = { x: @x, y: @y,
68
+ background: @background,
69
+ foreground: @foreground,
70
+ display: @display }
71
+ @buffer[get_pointer_from_xy] = self.class.wrap char, options
72
+ end
73
+
74
+ @x += 1
75
+ end
76
+
77
+ self
78
+ end
79
+
80
+ # Build difference between current buffer and rendered buffer and write
81
+ # it to TTY. Difference contains new control codes only, optimizing
82
+ # the rendering performance.
83
+ def flush
84
+ $stdout.write(@buffer.select { |c| !@rendered_buffer.include?(c) }.join)
85
+ update_rendered_buffer!
86
+
87
+ self
88
+ end
89
+
90
+ # Get index of the buffer from (x, y) coordinates.
91
+ def get_pointer_from_xy(x = @x, y = @y)
92
+ y * @width + x;
93
+ end
94
+
95
+ # Get (x, y) coordinate from the buffer pointer.
96
+ def get_xy_from_pointer(index)
97
+ [index - (index / @width).floor * @width, (index / @width).floor]
98
+ end
99
+
100
+ def move_to(x, y)
101
+ @x, @y = x.floor, y.floor
102
+
103
+ self
104
+ end
105
+
106
+ def write_control(str)
107
+ $stdout.write(ESCAPE_CHAR + str)
108
+ end
109
+
110
+ # Reset all terminal settings.
111
+ # Applies immediately without calling flush.
112
+ def reset_tty!
113
+ write_control 'c'
114
+
115
+ self
116
+ end
117
+
118
+ private
119
+ ########################################################################
120
+
121
+ def self.wrap_position(x, y)
122
+ ESCAPE_CHAR + "[#{(y + 1).floor};#{(x + 1).floor}f"
123
+ end
124
+ private_class_method :wrap_position
125
+
126
+ def self.wrap_ground_colors(foreground: nil, background: nil)
127
+ [(ESCAPE_CHAR + "[48;5;#{COLORS[background]}m" if background),
128
+ (ESCAPE_CHAR + "[38;5;#{COLORS[foreground]}m" if foreground)].join
129
+ end
130
+ private_class_method :wrap_ground_colors
131
+
132
+ def self.wrap_display_modes(options = {})
133
+ DISPLAY_MODES.map do |key, value|
134
+ ESCAPE_CHAR + "[#{DISPLAY_MODES[key]}m" if options[key]
135
+ end.join
136
+ end
137
+ private_class_method :wrap_display_modes
138
+
139
+ def update_rendered_buffer!
140
+ @rendered_buffer = Set.new(@buffer)
141
+ end
142
+
143
+ def cursor_in_bounding_box?
144
+ 0 <= @x && @x < @width && 0 <= @y && @y < @height
145
+ end
146
+ end
147
+ end
148
+ end
@@ -0,0 +1,33 @@
1
+ module KittikRb
2
+ module Cursor
3
+ module Colors
4
+
5
+ ##
6
+ # Now mapped only basic 16 colors.
7
+ # Here are the control sequences that permit you to use them.
8
+ # Some terminals can support 256 colors.
9
+ #
10
+ # The colors number 256 is only supported by vte (GNOME Terminal, XFCE4
11
+ # Terminal, Nautilus Terminal, Terminator, ...)
12
+
13
+ COLORS = {
14
+ black: 0,
15
+ maroon: 1,
16
+ green: 2,
17
+ olive: 3,
18
+ navy_blue: 4,
19
+ purple: 5,
20
+ teal: 6,
21
+ silver: 7,
22
+ grey: 8,
23
+ red: 9,
24
+ lime: 10,
25
+ yellow: 11,
26
+ blue: 12,
27
+ magenta: 13,
28
+ aqua: 14,
29
+ white: 15
30
+ }
31
+ end
32
+ end
33
+ end
@@ -0,0 +1,7 @@
1
+ class Hash
2
+ # From ActiveSupport v5.0.0.beta3
3
+ def slice(*keys)
4
+ keys.map! { |key| convert_key(key) } if respond_to?(:convert_key, true)
5
+ keys.each_with_object(self.class.new) { |k, hash| hash[k] = self[k] if has_key?(k) }
6
+ end
7
+ end
@@ -0,0 +1,27 @@
1
+ module KittikRb
2
+ module Cursor
3
+ module DisplayModes
4
+
5
+ ##
6
+ # Map of the display modes that can be used in Cursor API.
7
+ # There are the most commonly supported control sequences for formatting
8
+ # text and their resetting.
9
+
10
+ DISPLAY_MODES = {
11
+ reset_all: 0,
12
+ bold: 1,
13
+ dim: 2,
14
+ underlined: 4,
15
+ blink: 5,
16
+ reverse: 7,
17
+ hidden: 8,
18
+ reset_bold: 21,
19
+ reset_dim: 22,
20
+ reset_underlined: 24,
21
+ reset_blink: 25,
22
+ reset_reverse: 27,
23
+ reset_hidden: 28
24
+ }
25
+ end
26
+ end
27
+ end
@@ -0,0 +1,5 @@
1
+ module KittikRb
2
+ module Cursor
3
+ VERSION = '0.1.0'
4
+ end
5
+ end
@@ -0,0 +1,4 @@
1
+ require 'kittikrb/cursor'
2
+
3
+ module KittikRb
4
+ end
metadata ADDED
@@ -0,0 +1,160 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: kittikrb-cursor
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Vladyslav Siriniok
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2016-03-04 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ~>
18
+ - !ruby/object:Gem::Version
19
+ version: '1.10'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: '1.10'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ~>
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ~>
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ~>
46
+ - !ruby/object:Gem::Version
47
+ version: '3.4'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ~>
53
+ - !ruby/object:Gem::Version
54
+ version: '3.4'
55
+ - !ruby/object:Gem::Dependency
56
+ name: pry
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: '0.10'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ~>
67
+ - !ruby/object:Gem::Version
68
+ version: '0.10'
69
+ - !ruby/object:Gem::Dependency
70
+ name: pry-stack_explorer
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ~>
74
+ - !ruby/object:Gem::Version
75
+ version: '0.4'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ~>
81
+ - !ruby/object:Gem::Version
82
+ version: '0.4'
83
+ - !ruby/object:Gem::Dependency
84
+ name: pry-byebug
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ~>
88
+ - !ruby/object:Gem::Version
89
+ version: '3.3'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ~>
95
+ - !ruby/object:Gem::Version
96
+ version: '3.3'
97
+ - !ruby/object:Gem::Dependency
98
+ name: awesome_print
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ~>
102
+ - !ruby/object:Gem::Version
103
+ version: '1.6'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ~>
109
+ - !ruby/object:Gem::Version
110
+ version: '1.6'
111
+ description: ! " Implements low-level API for access to cursor in\n terminal.' "
112
+ email:
113
+ - siriniok@gmail.com
114
+ executables: []
115
+ extensions: []
116
+ extra_rdoc_files: []
117
+ files:
118
+ - .editorconfig
119
+ - .gitignore
120
+ - .rspec
121
+ - .travis.yml
122
+ - CODE_OF_CONDUCT.md
123
+ - Gemfile
124
+ - LICENSE
125
+ - README.md
126
+ - Rakefile
127
+ - bin/console
128
+ - bin/setup
129
+ - kittikrb-cursor.gemspec
130
+ - lib/kittikrb/cursor.rb
131
+ - lib/kittikrb/cursor/colors.rb
132
+ - lib/kittikrb/cursor/core_ext/hash.rb
133
+ - lib/kittikrb/cursor/display_modes.rb
134
+ - lib/kittikrb/cursor/version.rb
135
+ - lib/kittikrb_cursor.rb
136
+ homepage: https://github.com/kittikjs/cursor
137
+ licenses:
138
+ - MIT
139
+ metadata: {}
140
+ post_install_message:
141
+ rdoc_options: []
142
+ require_paths:
143
+ - lib
144
+ required_ruby_version: !ruby/object:Gem::Requirement
145
+ requirements:
146
+ - - ~>
147
+ - !ruby/object:Gem::Version
148
+ version: '2.2'
149
+ required_rubygems_version: !ruby/object:Gem::Requirement
150
+ requirements:
151
+ - - ~>
152
+ - !ruby/object:Gem::Version
153
+ version: '2.2'
154
+ requirements: []
155
+ rubyforge_project:
156
+ rubygems_version: 2.4.5
157
+ signing_key:
158
+ specification_version: 4
159
+ summary: Low-level API for cursor in terminal.'
160
+ test_files: []