exe/helpline in helpline-0.1.6 vs exe/helpline in helpline-0.1.7
- old
+ new
@@ -97,18 +97,19 @@
Curses.move(0,0)
lines = list.length
lines = LINES if lines > LINES
(0...lines).each { |i|
Curses.move(i,0)
- s = "[#{i}] #{list[i][0]}"
+ s = "* #{list[i][0]}"
if i == sel
Curses.print_inverse s
else
Curses.print s
end
}
- Curses.down
- Curses.tol
+ Curses.move(sel,0)
+ # Curses.down
+ # Curses.tol
end
def helpline
data = JSON.parse(File.read(datafile))
unless data['pages'] # データ型式変換があったので