We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc02dda commit 26cb174Copy full SHA for 26cb174
CHANGELOG.md
@@ -1,5 +1,9 @@
1
# Irbtools Changelog
2
3
+## Next (unreleased)
4
+
5
+- Improve Emoji support if recent unicode-display_width is available
6
7
## 4.1.0
8
9
- Fix command loading (was broken in previous version)
lib/irbtools/implementation.rb
@@ -111,6 +111,11 @@ def configure_irb!
111
add_command_aliases
112
rename_ls_to_ils
113
end
114
115
+ # Improve Emoji support if recent unicode-display_width is available
116
+ if defined?(Reline) && defined?(Unicode::DisplayWidth) && Unicode::DisplayWidth::VERSION >= "3.0"
117
+ require "unicode/display_width/reline_ext"
118
+ end
119
120
121
def set_propmt
0 commit comments