unicode-display_width 3.0.0 → 3.0.1

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: 8ee4f0ac31dae0855f4de659fac788fb36a7298cc5a69cd2b4e104a709bab351
4
- data.tar.gz: 5928bdbfd92df1baba4249fca92302240dfb4ad90579248085c1f5e103c3fc0d
3
+ metadata.gz: 2d2f36aeac48ce4e9e4fb84f578bbf652d59ee81cca87f19608d302a0cf175bc
4
+ data.tar.gz: d7df0d9fe9d2cc82a615aaa2ceb0d149606d0992aeb9bc886f1ec565ed19ae5c
5
5
  SHA512:
6
- metadata.gz: e5af487be1d49d54f383cd8fc5cc0ea384714297537f5e23ef37f457bea5ff80a469e954ecdbf345eb6e966b29aad2f9557af0986a11642d66e21e9bf8309603
7
- data.tar.gz: 7e6441597613b829540389e36b6d51415858ba05222ba14c33dec37c883d125a96d6566f3e4f65b666b7de89e9833e568fcb33e8a1a5f2f9ba5cb69616e63b0f
6
+ metadata.gz: 5d5ec1bea71952674bb8d868d06eaf0d634869acbd57cf3bb2119e7b0b24b719ee193ac43cdc7b36146c35398b13e0e6567eea120ec7bc6abd91c68192786532
7
+ data.tar.gz: f6f94791603e6eb719e02e0054eb8a7b539747859ab460ecee61b4e383107594d1b9dc2aacae947542c4a8c8826e47e07659e3883e2e32051a81054f3bc8c75e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 3.0.1
4
+
5
+ - Add WezTerm and foot as good Emoji terminals
6
+
3
7
  ## 3.0.0
4
8
 
5
9
  **Rework Emoji support:**
@@ -2,7 +2,7 @@
2
2
 
3
3
  module Unicode
4
4
  class DisplayWidth
5
- VERSION = "3.0.0"
5
+ VERSION = "3.0.1"
6
6
  UNICODE_VERSION = "16.0.0"
7
7
  DATA_DIRECTORY = File.expand_path(File.dirname(__FILE__) + "/../../../data/")
8
8
  INDEX_FILENAME = DATA_DIRECTORY + "/display_width.marshal.gz"
@@ -14,13 +14,15 @@ module Unicode
14
14
  end
15
15
 
16
16
  case ENV["TERM_PROGRAM"]
17
- when "iTerm.app"
17
+ when "iTerm.app", "WezTerm"
18
18
  return :all
19
19
  when "Apple_Terminal"
20
20
  return :rgi_uqe
21
21
  end
22
22
 
23
23
  case ENV["TERM"]
24
+ when "foot"
25
+ return :all
24
26
  when "contour"
25
27
  return :rgi_uqe
26
28
  when /kitty/
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unicode-display_width
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Lelis