rbhex-core 1.1.0.alpha3 → 1.1.0.alpha4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG +1 -1
- data/examples/atree.rb +1 -1
- data/examples/common/file.rb +2 -2
- data/examples/dbdemo.rb +1 -1
- data/examples/newtabbedwindow.rb +1 -1
- data/examples/newtesttabp.rb +4 -4
- data/examples/testbuttons.rb +3 -3
- data/examples/testcombo.rb +2 -2
- data/examples/testfields.rb +3 -3
- data/examples/testkeypress.rb +4 -4
- data/examples/testlistbox.rb +5 -5
- data/examples/testmessagebox.rb +4 -4
- data/examples/testprogress.rb +1 -1
- data/examples/testree.rb +3 -3
- data/examples/testwsshortcuts.rb +2 -2
- data/examples/testwsshortcuts2.rb +3 -3
- data/lib/rbhex/core/include/action.rb +2 -2
- data/lib/rbhex/core/include/actionmanager.rb +1 -1
- data/lib/rbhex/core/include/appmethods.rb +4 -4
- data/lib/rbhex/core/include/bordertitle.rb +6 -6
- data/lib/rbhex/core/include/chunk.rb +1 -1
- data/lib/rbhex/core/include/io.rb +2 -2
- data/lib/rbhex/core/include/listbindings.rb +2 -2
- data/lib/rbhex/core/include/listcellrenderer.rb +3 -3
- data/lib/rbhex/core/include/listscrollable.rb +1 -1
- data/lib/rbhex/core/include/listselectable.rb +13 -13
- data/lib/rbhex/core/include/multibuffer.rb +5 -5
- data/lib/rbhex/core/include/ractionevent.rb +4 -4
- data/lib/rbhex/core/include/rchangeevent.rb +3 -3
- data/lib/rbhex/core/include/rhistory.rb +1 -1
- data/lib/rbhex/core/include/rinputdataevent.rb +6 -6
- data/lib/rbhex/core/include/vieditable.rb +1 -1
- data/lib/rbhex/core/include/widgetmenu.rb +1 -1
- data/lib/rbhex/core/system/colormap.rb +1 -1
- data/lib/rbhex/core/system/ncurses.rb +1 -1
- data/lib/rbhex/core/system/window.rb +1 -1
- data/lib/rbhex/core/util/ansiparser.rb +1 -1
- data/lib/rbhex/core/util/app.rb +7 -7
- data/lib/rbhex/core/util/basestack.rb +20 -20
- data/lib/rbhex/core/util/bottomline.rb +2 -2
- data/lib/rbhex/core/util/colorparser.rb +1 -1
- data/lib/rbhex/core/util/focusmanager.rb +1 -1
- data/lib/rbhex/core/util/padreader.rb +2 -2
- data/lib/rbhex/core/util/rcommandwindow.rb +2 -2
- data/lib/rbhex/core/util/rdialogs.rb +7 -7
- data/lib/rbhex/core/util/viewer.rb +5 -5
- data/lib/rbhex/core/util/widgetshortcuts.rb +3 -3
- data/lib/rbhex/core/version.rb +1 -1
- data/lib/rbhex/core/widgets/applicationheader.rb +2 -2
- data/lib/rbhex/core/widgets/box.rb +3 -3
- data/lib/rbhex/core/widgets/divider.rb +2 -2
- data/lib/rbhex/core/widgets/keylabelprinter.rb +2 -2
- data/lib/rbhex/core/widgets/rcombo.rb +5 -5
- data/lib/rbhex/core/widgets/rcontainer.rb +2 -2
- data/lib/rbhex/core/widgets/rlink.rb +1 -1
- data/lib/rbhex/core/widgets/rlist.rb +1 -1
- data/lib/rbhex/core/widgets/rmenu.rb +15 -15
- data/lib/rbhex/core/widgets/rmenulink.rb +1 -1
- data/lib/rbhex/core/widgets/rmessagebox.rb +6 -6
- data/lib/rbhex/core/widgets/rprogress.rb +2 -2
- data/lib/rbhex/core/widgets/rtabbedpane.rb +3 -3
- data/lib/rbhex/core/widgets/rtabbedwindow.rb +2 -2
- data/lib/rbhex/core/widgets/rtextarea.rb +2 -2
- data/lib/rbhex/core/widgets/rtextview.rb +3 -3
- data/lib/rbhex/core/widgets/rtree.rb +6 -6
- data/lib/rbhex/core/widgets/rwidget.rb +12 -12
- data/lib/rbhex/core/widgets/scrollbar.rb +2 -2
- data/lib/rbhex/core/widgets/statusline.rb +1 -1
- data/lib/rbhex/core/widgets/tabular.rb +32 -32
- data/lib/rbhex/core/widgets/tabularwidget.rb +3 -3
- data/lib/rbhex/core/widgets/textpad.rb +3 -3
- data/lib/rbhex/core/widgets/tree/treecellrenderer.rb +3 -3
- data/lib/rbhex/core/widgets/tree/treemodel.rb +3 -3
- metadata +11 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8fb9b0f63825d41458840c2638790750b30e1970
|
4
|
+
data.tar.gz: f704e44634bd8b7ae07871514edbe34ab86c0ef3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8a60685fd1600d79e00afc9e70115f170ebf25bdfba115cd2c12eeb6ff8a0fca2b1dde13cc40246eb2bba0ab10e42a4cb70b63f04b836f650dea74ad464ec767
|
7
|
+
data.tar.gz: 514890e0d39eea4c7dbc2b937429814ff8a736894b59e5fc9b2069df2d48e9ac490a71b29e7f4629f080c6afd7d67d6c818bca02cc0ed29232388e1681fd681e
|
data/CHANGELOG
CHANGED
data/examples/atree.rb
CHANGED
@@ -7,7 +7,7 @@ App.new do
|
|
7
7
|
|
8
8
|
@form.bind_key(FFI::NCurses::KEY_F3) {
|
9
9
|
require 'rbhex/core/util/viewer'
|
10
|
-
|
10
|
+
Rbhex::Viewer.view("rbc13.log", :close_key => KEY_ENTER, :title => "<Enter> to close")
|
11
11
|
}
|
12
12
|
|
13
13
|
ww = FFI::NCurses.COLS-0
|
data/examples/common/file.rb
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
#
|
11
11
|
|
12
12
|
require 'rbhex/core/include/appmethods'
|
13
|
-
module
|
13
|
+
module Rbhex
|
14
14
|
def file_edit fp #=@current_list.filepath
|
15
15
|
#$log.debug " edit #{fp}"
|
16
16
|
editor = ENV['EDITOR'] || 'vi'
|
@@ -42,4 +42,4 @@ module RubyCurses
|
|
42
42
|
end
|
43
43
|
|
44
44
|
end # module
|
45
|
-
include
|
45
|
+
include Rbhex
|
data/examples/dbdemo.rb
CHANGED
@@ -494,7 +494,7 @@ App.new do
|
|
494
494
|
#end
|
495
495
|
end
|
496
496
|
blank
|
497
|
-
#tv =
|
497
|
+
#tv = Rbhex::ResultsetTextView.new @form, :row => 1, :col => 1, :width => 50, :height => 16
|
498
498
|
#tv = resultsettextview :name => 'resultset', :height => 18 , :title => 'DB Browser', :print_footer => true
|
499
499
|
|
500
500
|
end
|
data/examples/newtabbedwindow.rb
CHANGED
data/examples/newtesttabp.rb
CHANGED
@@ -17,7 +17,7 @@ class TestTabbedPane
|
|
17
17
|
@window = VER::Window.root_window
|
18
18
|
@form = Form.new @window
|
19
19
|
r = 1; c = 30;
|
20
|
-
tp =
|
20
|
+
tp = Rbhex::TabbedPane.new @form, :height => 12, :width => 50,
|
21
21
|
:row => 13, :col => 10 do
|
22
22
|
button_type :ok
|
23
23
|
end
|
@@ -40,7 +40,7 @@ class TestTabbedPane
|
|
40
40
|
butts = [ "Use &HTTP/1.0", "Use &frames", "&Use SSL" ]
|
41
41
|
bcodes = %w[ HTTP, FRAMES, SSL ]
|
42
42
|
butts.each_with_index do |t, i|
|
43
|
-
item
|
43
|
+
item Rbhex::CheckBox.new nil,
|
44
44
|
:text => butts[i],
|
45
45
|
:variable => $config_hash,
|
46
46
|
:name => bcodes[i],
|
@@ -53,7 +53,7 @@ class TestTabbedPane
|
|
53
53
|
bcodes = %w[ VIM EMACS JED OTHER]
|
54
54
|
row = 2
|
55
55
|
butts.each_with_index do |name, i|
|
56
|
-
item
|
56
|
+
item Rbhex::CheckBox.new nil ,
|
57
57
|
:text => name,
|
58
58
|
:variable => $config_hash,
|
59
59
|
:name => bcodes[i],
|
@@ -62,7 +62,7 @@ class TestTabbedPane
|
|
62
62
|
end
|
63
63
|
end
|
64
64
|
help = "q to quit. <TAB> through tabs, Space or Enter to select Tab."
|
65
|
-
|
65
|
+
Rbhex::Label.new @form, {:text => help, :row => 1, :col => 2, :color => :yellow}
|
66
66
|
@form.repaint
|
67
67
|
@window.wrefresh
|
68
68
|
Ncurses::Panel.update_panels
|
data/examples/testbuttons.rb
CHANGED
@@ -33,8 +33,8 @@ def help_text
|
|
33
33
|
end
|
34
34
|
if $0 == __FILE__
|
35
35
|
|
36
|
-
include
|
37
|
-
include
|
36
|
+
include Rbhex
|
37
|
+
include Rbhex::Utils
|
38
38
|
|
39
39
|
begin
|
40
40
|
# Initialize curses
|
@@ -65,7 +65,7 @@ if $0 == __FILE__
|
|
65
65
|
|
66
66
|
$message = Variable.new
|
67
67
|
$message.value = "Message Comes Here"
|
68
|
-
message_label =
|
68
|
+
message_label = Rbhex::Label.new @form, {'text_variable' => $message,
|
69
69
|
"name"=>"message_label","row" => Ncurses.LINES-1, "col" => 1, "display_length" => 60,
|
70
70
|
"height" => 2, 'color' => 'cyan'}
|
71
71
|
|
data/examples/testcombo.rb
CHANGED
data/examples/testfields.rb
CHANGED
@@ -40,8 +40,8 @@ def help_text
|
|
40
40
|
end
|
41
41
|
if $0 == __FILE__
|
42
42
|
|
43
|
-
include
|
44
|
-
include
|
43
|
+
include Rbhex
|
44
|
+
include Rbhex::Utils
|
45
45
|
|
46
46
|
begin
|
47
47
|
# Initialize curses
|
@@ -124,7 +124,7 @@ if $0 == __FILE__
|
|
124
124
|
|
125
125
|
@form.bind_key(FFI::NCurses::KEY_F3,'view log') {
|
126
126
|
require 'rbhex/core/util/viewer'
|
127
|
-
|
127
|
+
Rbhex::Viewer.view(path || "rbc13.log", :close_key => KEY_ENTER, :title => "<Enter> to close")
|
128
128
|
}
|
129
129
|
@form.bind_key(FFI::NCurses::KEY_F4, 'system command') { shell_output }
|
130
130
|
@form.bind_key(FFI::NCurses::KEY_F5, 'shell') { suspend }
|
data/examples/testkeypress.rb
CHANGED
@@ -9,8 +9,8 @@ require 'logger'
|
|
9
9
|
require 'rbhex/core'
|
10
10
|
require 'rbhex/core/widgets/rtextview'
|
11
11
|
if $0 == __FILE__
|
12
|
-
include
|
13
|
-
include
|
12
|
+
include Rbhex
|
13
|
+
include Rbhex::Utils
|
14
14
|
|
15
15
|
begin
|
16
16
|
# Initialize curses
|
@@ -43,8 +43,8 @@ if $0 == __FILE__
|
|
43
43
|
end
|
44
44
|
help = "q to quit. Check keys. F1..10, C-a..z, Alt a-zA-Z0-9, C-left,rt, Sh-F5..10 .: #{$0}"
|
45
45
|
help1 = "Press in quick succession: 1) M-[, w and (2) M-[, M-w. (3) M-Sh-O, w."
|
46
|
-
|
47
|
-
|
46
|
+
Rbhex::Label.new @form, {'text' => help, "row" => 21, "col" => 2, "color" => "yellow"}
|
47
|
+
Rbhex::Label.new @form, {'text' => help1, "row" => 22, "col" => 2, "color" => "green"}
|
48
48
|
|
49
49
|
@form.repaint
|
50
50
|
@window.wrefresh
|
data/examples/testlistbox.rb
CHANGED
@@ -19,7 +19,7 @@ require 'rbhex/core/widgets/rlist'
|
|
19
19
|
require 'rbhex/core/widgets/rtextview'
|
20
20
|
require 'rbhex/core/include/vieditable'
|
21
21
|
#require 'rbhex/experimental/widgets/undomanager'
|
22
|
-
class
|
22
|
+
class Rbhex::List
|
23
23
|
# vieditable includes listeditable which
|
24
24
|
# does bring in some functions which can crash program like x and X TODO
|
25
25
|
# also, f overrides list f mapping. TODO
|
@@ -67,7 +67,7 @@ end
|
|
67
67
|
eos
|
68
68
|
end
|
69
69
|
if $0 == __FILE__
|
70
|
-
include
|
70
|
+
include Rbhex
|
71
71
|
|
72
72
|
begin
|
73
73
|
# Initialize curses
|
@@ -94,7 +94,7 @@ if $0 == __FILE__
|
|
94
94
|
# this is the old style of using a label at the screen bottom, you can use the status_line
|
95
95
|
|
96
96
|
v = "F10 quits. F1 Help. Try j k gg G o O C dd f<char> w yy p P / . Press ENTER on Class or Method"
|
97
|
-
var =
|
97
|
+
var = Rbhex::Label.new @form, {'text' => v, "row" => FFI::NCurses.LINES-2,
|
98
98
|
"col" => fc, "display_length" => 100}
|
99
99
|
|
100
100
|
h = FFI::NCurses.LINES-3
|
@@ -129,12 +129,12 @@ if $0 == __FILE__
|
|
129
129
|
#w.title = listb.text
|
130
130
|
}
|
131
131
|
|
132
|
-
tv =
|
132
|
+
tv = Rbhex::TextView.new @form, :row => r, :col => w+1, :height => h, :width => FFI::NCurses.COLS-w-1,
|
133
133
|
:name => "tv", :title => "Press Enter on method"
|
134
134
|
tv.set_content ["Press Enter on list to view ri information in this area.",
|
135
135
|
"Press ENTER on method name to see details"]
|
136
136
|
require 'rbhex/core/include/multibuffer'
|
137
|
-
tv.extend(
|
137
|
+
tv.extend(Rbhex::MultiBuffers)
|
138
138
|
|
139
139
|
# pressing ENTER on a method name will popup details for that method
|
140
140
|
tv.bind(:PRESS) { |ev|
|
data/examples/testmessagebox.rb
CHANGED
@@ -44,7 +44,7 @@ if $0 == __FILE__
|
|
44
44
|
n = @mb.widget(nn)
|
45
45
|
$log.debug "XXXX: #{n.selected_indices}, #{n.name} "
|
46
46
|
when 2
|
47
|
-
@mb =
|
47
|
+
@mb = Rbhex::MessageBox.new do
|
48
48
|
title "Color selector"
|
49
49
|
message "Select a color"
|
50
50
|
#item Label.new :text => "Select a color", :row => 1 , :col => 2
|
@@ -63,7 +63,7 @@ if $0 == __FILE__
|
|
63
63
|
index = @mb.run
|
64
64
|
$log.debug "XXX: messagebox 2 ret #{index} "
|
65
65
|
when 3
|
66
|
-
@mb =
|
66
|
+
@mb = Rbhex::MessageBox.new do
|
67
67
|
title "Enter your name"
|
68
68
|
#message "Enter your first name. You are not permitted to enter x z or q and must enter a capital first"
|
69
69
|
message "Enter your first name. Initcaps "
|
@@ -79,7 +79,7 @@ if $0 == __FILE__
|
|
79
79
|
add CheckBox.new :text => "Use &HTTP/1.0", :value => true
|
80
80
|
add CheckBox.new :text => "Use &passive FTP"
|
81
81
|
add Label.new :text => " Language ", :attr => REVERSE
|
82
|
-
$radio =
|
82
|
+
$radio = Rbhex::Variable.new
|
83
83
|
add RadioButton.new :text => "py&thon", :value => "python", :color => :blue, :variable => $radio
|
84
84
|
add RadioButton.new :text => "rub&y", :color => :red, :variable => $radio
|
85
85
|
button_type :ok
|
@@ -110,7 +110,7 @@ if $0 == __FILE__
|
|
110
110
|
#l.insert( 0, *flist) if flist
|
111
111
|
listb.list flist
|
112
112
|
end
|
113
|
-
mb =
|
113
|
+
mb = Rbhex::MessageBox.new :height => 20, :width => 60 do
|
114
114
|
title "Sample File Selector"
|
115
115
|
add label
|
116
116
|
add field
|
data/examples/testprogress.rb
CHANGED
data/examples/testree.rb
CHANGED
@@ -68,7 +68,7 @@ class Tester
|
|
68
68
|
|
69
69
|
#
|
70
70
|
help = "C-q to quit. <ENTER> to expand nodes. j/k to navigate. Pass command-line argument 1,2,3,4 #{$0} "
|
71
|
-
|
71
|
+
Rbhex::Label.new @form, {:text => help, :row => 1, :col => 2, :color => :cyan}
|
72
72
|
@form.repaint
|
73
73
|
@window.wrefresh
|
74
74
|
Ncurses::Panel.update_panels
|
@@ -85,8 +85,8 @@ class Tester
|
|
85
85
|
|
86
86
|
end
|
87
87
|
end
|
88
|
-
include
|
89
|
-
include
|
88
|
+
include Rbhex
|
89
|
+
include Rbhex::Utils
|
90
90
|
# Initialize curses
|
91
91
|
begin
|
92
92
|
# XXX update with new color and kb
|
data/examples/testwsshortcuts.rb
CHANGED
@@ -3,10 +3,10 @@
|
|
3
3
|
require 'rbhex/core'
|
4
4
|
require 'rbhex/core/util/widgetshortcuts'
|
5
5
|
|
6
|
-
include
|
6
|
+
include Rbhex
|
7
7
|
|
8
8
|
class SetupMessagebox
|
9
|
-
include
|
9
|
+
include Rbhex::WidgetShortcuts
|
10
10
|
def initialize config={}, &block
|
11
11
|
@window = VER::Window.root_window
|
12
12
|
@form = Form.new @window
|
@@ -3,11 +3,11 @@
|
|
3
3
|
require 'rbhex/core'
|
4
4
|
require 'rbhex/core/util/widgetshortcuts'
|
5
5
|
|
6
|
-
include
|
7
|
-
include
|
6
|
+
include Rbhex
|
7
|
+
include Rbhex::Utils
|
8
8
|
|
9
9
|
class SetupMessagebox
|
10
|
-
include
|
10
|
+
include Rbhex::WidgetShortcuts
|
11
11
|
def initialize config={}, &block
|
12
12
|
@window = VER::Window.root_window
|
13
13
|
@form = Form.new @window
|
@@ -16,8 +16,8 @@
|
|
16
16
|
# ----------------------------------------------------------------------------- #
|
17
17
|
#
|
18
18
|
require 'rbhex/core/widgets/rwidget'
|
19
|
-
include
|
20
|
-
module
|
19
|
+
include Rbhex
|
20
|
+
module Rbhex
|
21
21
|
## encapsulates behaviour allowing centralization
|
22
22
|
# == Example
|
23
23
|
# a = Action.new("&New Row") { commands }
|
@@ -1,4 +1,4 @@
|
|
1
|
-
module
|
1
|
+
module Rbhex
|
2
2
|
module Utils
|
3
3
|
private
|
4
4
|
def _suspend clear=true
|
@@ -65,7 +65,7 @@ module RubyCurses
|
|
65
65
|
w = arr.max_by(&:length).length
|
66
66
|
|
67
67
|
require 'rbhex/core/util/viewer'
|
68
|
-
|
68
|
+
Rbhex::Viewer.view(arr, :layout => [2, 10, [4+arr.size, 24].min, w+2],:close_key => KEY_ENTER, :title => "<Enter> to close", :print_footer => true) do |t|
|
69
69
|
# you may configure textview further here.
|
70
70
|
#t.suppress_borders true
|
71
71
|
#t.color = :black
|
@@ -103,7 +103,7 @@ module RubyCurses
|
|
103
103
|
res << ex.backtrace.join("\n")
|
104
104
|
end
|
105
105
|
res.gsub!("\t"," ")
|
106
|
-
|
106
|
+
Rbhex::Viewer.view(res.split("\n"), :close_key => KEY_ENTER, :title => "<Enter> to close, M-l M-h to scroll")
|
107
107
|
end
|
108
108
|
def shell_out command
|
109
109
|
w = @window || @form.window
|
@@ -211,4 +211,4 @@ module RubyCurses
|
|
211
211
|
alias :key :define_key
|
212
212
|
end
|
213
213
|
end # module RubyC
|
214
|
-
include
|
214
|
+
include Rbhex::Utils
|
@@ -1,6 +1,6 @@
|
|
1
|
-
# I am moving the common title and border printing stuff into
|
1
|
+
# I am moving the common title and border printing stuff into
|
2
2
|
# a separate module.
|
3
|
-
module
|
3
|
+
module Rbhex
|
4
4
|
module BorderTitle
|
5
5
|
dsl_accessor :suppress_borders #to_print_borders
|
6
6
|
dsl_accessor :border_attrib, :border_color
|
@@ -9,7 +9,7 @@ module RubyCurses
|
|
9
9
|
|
10
10
|
def bordertitle_init
|
11
11
|
@_bordertitle_init_called = true
|
12
|
-
@row_offset = @col_offset = 0 if @suppress_borders
|
12
|
+
@row_offset = @col_offset = 0 if @suppress_borders
|
13
13
|
@internal_width = 1 if @suppress_borders # the other programs have zero not 1 NOTE
|
14
14
|
end
|
15
15
|
# why the dash does it reduce height by one.
|
@@ -21,8 +21,8 @@ module RubyCurses
|
|
21
21
|
width = @width
|
22
22
|
height = @height-1
|
23
23
|
window = @graphic
|
24
|
-
startcol = @col
|
25
|
-
startrow = @row
|
24
|
+
startcol = @col
|
25
|
+
startrow = @row
|
26
26
|
@color_pair = get_color($datacolor)
|
27
27
|
bordercolor = @border_color || @color_pair
|
28
28
|
borderatt = @border_attrib || Ncurses::A_NORMAL
|
@@ -33,7 +33,7 @@ module RubyCurses
|
|
33
33
|
bordertitle_init unless @_bordertitle_init_called
|
34
34
|
return unless @title
|
35
35
|
raise "#{self} needs width" unless @width
|
36
|
-
@color_pair ||= get_color($datacolor) # should we not use this ??? XXX
|
36
|
+
@color_pair ||= get_color($datacolor) # should we not use this ??? XXX
|
37
37
|
#$log.debug " print_title #{@row}, #{@col}, #{@width} "
|
38
38
|
# check title.length and truncate if exceeds width
|
39
39
|
_title = @title
|
@@ -10,7 +10,7 @@
|
|
10
10
|
# Changes:
|
11
11
|
# 2011-12-6 : removed many old, outdated methods.
|
12
12
|
#*******************************************************#
|
13
|
-
module
|
13
|
+
module Rbhex
|
14
14
|
module Io
|
15
15
|
|
16
16
|
# create a 2 line window at bottom to accept user input
|
@@ -357,7 +357,7 @@ module RubyCurses
|
|
357
357
|
# and actual proc from the caller using this code.
|
358
358
|
def menu_tree mt, pm = self
|
359
359
|
mt.each_pair { |ch, code|
|
360
|
-
if code.is_a?
|
360
|
+
if code.is_a? Rbhex::MenuTree
|
361
361
|
item = pm.add(ch, code.value, "")
|
362
362
|
current = PromptMenu.new @caller, code.value
|
363
363
|
item.action = current
|
@@ -7,7 +7,7 @@
|
|
7
7
|
# Last update: 2013-03-25 01:53
|
8
8
|
# ----------------------------------------------------------------------------- #
|
9
9
|
#
|
10
|
-
module
|
10
|
+
module Rbhex
|
11
11
|
#
|
12
12
|
# bindings for multi-row widgets such as listbox, table, textview
|
13
13
|
#
|
@@ -71,4 +71,4 @@ module RubyCurses
|
|
71
71
|
end # def
|
72
72
|
end
|
73
73
|
end
|
74
|
-
include
|
74
|
+
include Rbhex::ListBindings
|