helpline 0.1.12 → 0.1.17

Sign up to get free protection for your applications and to get access to all the features.
data/keydef.zsh CHANGED
@@ -2,7 +2,7 @@
2
2
  # Ctrl-Jでhelplineを呼ぶようにする
3
3
  #
4
4
  function run-help() {
5
- /usr/local/bin/helpline "${BUFFER}" < $TTY
5
+ helpline "${BUFFER}" < $TTY
6
6
  BUFFER=$(cat /tmp/helpline.cmd)
7
7
  CURSOR=${#BUFFER}
8
8
  zle redisplay
@@ -105,5 +105,12 @@ class Curses
105
105
  @x += s.length
106
106
  end
107
107
 
108
+ def Curses.print_bold(s)
109
+ print "\e[0m"
110
+ print "\e[1m"
111
+ print s
112
+ print "\e[0m"
113
+ @x += s.length
114
+ end
108
115
  end
109
116
 
@@ -1,3 +1,3 @@
1
1
  module Helpline
2
- VERSION = "0.1.12"
2
+ VERSION = "0.1.17"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: helpline
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.12
4
+ version: 0.1.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Toshiyuki Masui
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-07-04 00:00:00.000000000 Z
11
+ date: 2020-07-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -91,6 +91,7 @@ files:
91
91
  - ".gitignore"
92
92
  - 00README
93
93
  - Gemfile
94
+ - HelpLine.json
94
95
  - LICENSE.txt
95
96
  - Makefile
96
97
  - README.md