fancy_buff 3.1.0 → 4.0.0

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/fancy_buff.rb +4 -4
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 195debbfecfec78a6e9efe04ca6b0cb0dcb828f3cc0f9a957f8342422f00c925
4
- data.tar.gz: 0e2b2635f5330e5b7dd08a1135a0810d1e38d6695d289598826b0618798303ea
3
+ metadata.gz: 8a2c28ecbc28c73489bf537ebb9ced7249aca3d1b6b09f22f9fba97980e7752d
4
+ data.tar.gz: 73db0f4d103f6449b89ef74d84ab2c37f5948f10da2067747ae2146c42dbf482
5
5
  SHA512:
6
- metadata.gz: 6b5cef70ff2eee10fd6f7cd33af401b36fcf7478f5493795fd694c6446b0a52d5f7a598bc112b83711204ab0c835d91d1b2b6535a3320f91228a7d6848c2e6de
7
- data.tar.gz: 90ad2a3a7148f2669a7b1274d482ca08bd17d7068622ebc19aaf6d827c283b18c7da6fe217aba91e0c501e0419f8b49099bbfdffa1ef920d6abe11fee5342fac
6
+ metadata.gz: 48beaba19e87d9adb7d9221a9e0784c15a27e7c3e3629ae313f283eb1e7175f09acd621564e5e9255009d85fdd76532296d0b845d01208487563bb000160edf5
7
+ data.tar.gz: 9f92dbb97a4b8ff2ead342b1de305d3df60a1bbddfa7b8c82fb22f70f507bf02a092ee61dee8493c928ead773b60bd39c1a0b6068eb59c9508675aedc040d8ed
data/lib/fancy_buff.rb CHANGED
@@ -196,25 +196,25 @@ class FancyBuff
196
196
  end
197
197
 
198
198
  # scrolls the visible window up
199
- def win_up!(n=1)
199
+ def buff_up!(n=1)
200
200
  @win[1] = [@win[1] - n, 0].max
201
201
  adjust_caret!
202
202
  end
203
203
 
204
204
  # scrolls the visible window down
205
- def win_down!(n=1)
205
+ def buff_down!(n=1)
206
206
  @win[1] = [@win[1] + n, @lines.length - 1].min
207
207
  adjust_caret!
208
208
  end
209
209
 
210
210
  # scrolls the visible window left
211
- def win_left!(n=1)
211
+ def buff_left!(n=1)
212
212
  @win[0] = [@win[0] - n, 0].max
213
213
  adjust_caret!
214
214
  end
215
215
 
216
216
  # scrolls the visible window right
217
- def win_right!(n=1)
217
+ def buff_right!(n=1)
218
218
  @win[0] = [@win[0] + n, max_char_width - 1].min
219
219
  adjust_caret!
220
220
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fancy_buff
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0
4
+ version: 4.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeff Lunt
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-25 00:00:00.000000000 Z
11
+ date: 2025-03-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rouge