lucaterm 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: aded3c0330640ea02aa041471429a8187ee0387636b0ff5d571a91246346f364
4
- data.tar.gz: 66d6bd0c744a62adce6c3b30a19906e01ef5e609f537e0c16383de9730489db9
3
+ metadata.gz: 27c860aa2688fe8e9c9715ad2cfa7f99d9052357408a9f60de5895f3af25e151
4
+ data.tar.gz: 65b360b3822fa147992c5d655252254334ba4ad8d4eb623fceb3fdf829f76044
5
5
  SHA512:
6
- metadata.gz: a5a5bc65322c5ad40498bff00d41b12a89ea7a624de2b37403e377c47c006b0b89f3f736e77480c5b8ce58e66278a7b7b0302016e39cfc57673d90a8589d8bd7
7
- data.tar.gz: a13f44c1e18b07cd6a9fc2a9736a8e4a579d065d2b0d27ec2138206636ef65f48a1b71ff5b0ca01cbd3b1dfd35ef71f97799d3f4c2839a3fd95e52f1b00b871a
6
+ metadata.gz: 0d464f5208abb1eaaae53581727c74beb2389e9e2580e2782138570106ecd6a8b385a113a89ade75df6a8eb5cce52b873daba7f5d46600903a00d40d395a2f04
7
+ data.tar.gz: 44b81f9a007bed740177fc7d6eae044503f400587b8262ad1fed7b0fb0976621204c029725e054c78959809c504eecaef4848029aef0ab32ba92fe0d931802c8
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## LucaTerm 0.3.2
2
+
3
+ * `luca book`: Add 'h'/'l' move as Prev/Next for monthly journals and code selection.
4
+
1
5
  ## LucaTerm 0.3.1
2
6
 
3
7
  * `luca book`: Supports monorepo project including multi-app data.
@@ -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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module LucaTerm
4
- VERSION = '0.3.1'
4
+ VERSION = '0.3.2'
5
5
  end
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.1
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-01-11 00:00:00.000000000 Z
11
+ date: 2024-03-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: curses