lucaterm 0.3.1 → 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/luca_term/book.rb +4 -4
- data/lib/luca_term/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 27c860aa2688fe8e9c9715ad2cfa7f99d9052357408a9f60de5895f3af25e151
|
|
4
|
+
data.tar.gz: 65b360b3822fa147992c5d655252254334ba4ad8d4eb623fceb3fdf829f76044
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0d464f5208abb1eaaae53581727c74beb2389e9e2580e2782138570106ecd6a8b385a113a89ade75df6a8eb5cce52b873daba7f5d46600903a00d40d395a2f04
|
|
7
|
+
data.tar.gz: 44b81f9a007bed740177fc7d6eae044503f400587b8262ad1fed7b0fb0976621204c029725e054c78959809c504eecaef4848029aef0ab32ba92fe0d931802c8
|
data/CHANGELOG.md
CHANGED
data/lib/luca_term/book.rb
CHANGED
|
@@ -66,14 +66,14 @@ module LucaTerm
|
|
|
66
66
|
@index = 0
|
|
67
67
|
@active = 0
|
|
68
68
|
@visible = set_visible(@data)
|
|
69
|
-
when '<'
|
|
69
|
+
when '<', 'h'
|
|
70
70
|
target = Date.parse("#{@year}-#{@month}-1").prev_month
|
|
71
71
|
@data = LucaSupport::Code.readable(LucaBook::List.term(target.year, target.month).data)
|
|
72
72
|
@year, @month = target.year, target.month
|
|
73
73
|
@index = 0
|
|
74
74
|
@active = 0
|
|
75
75
|
@visible = set_visible(@data)
|
|
76
|
-
when '>'
|
|
76
|
+
when '>', 'l'
|
|
77
77
|
target = Date.parse("#{@year}-#{@month}-1").next_month
|
|
78
78
|
@data = LucaSupport::Code.readable(LucaBook::List.term(target.year, target.month).data)
|
|
79
79
|
@year, @month = target.year, target.month
|
|
@@ -327,9 +327,9 @@ module LucaTerm
|
|
|
327
327
|
cursor_up list
|
|
328
328
|
when KEY_PPAGE
|
|
329
329
|
cursor_pageup list, sub.maxy - 2
|
|
330
|
-
when KEY_LEFT
|
|
330
|
+
when KEY_LEFT, 'h'
|
|
331
331
|
cursor_jump tabstop, list, rev: true
|
|
332
|
-
when KEY_RIGHT
|
|
332
|
+
when KEY_RIGHT, 'l'
|
|
333
333
|
cursor_jump tabstop, list
|
|
334
334
|
when 'G'
|
|
335
335
|
cursor_last list, sub.maxy - 2
|
data/lib/luca_term/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: lucaterm
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Chuma Takahiro
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-
|
|
11
|
+
date: 2024-03-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: curses
|