Comments (4)
Hi, thanks for the report. Looking the the call stack, it seems that you're not running the latest revision. Could you update and check if it still fails? I can't reproduce the problem with the following command:
echo "select Hráč Protihráč, sum(Zabití) Zabití, sum(Smrtí) Smrtí" | fzf
And which version of Ruby are your running?
from fzf.
Installed newest version, still happens. like i sai, the example above did not immediately break Ctrl-r, it's just the only non-ascii data i've actually wrote in the terminal.
/home/harel/.fzf/fzf:446:in `=~': invalid byte sequence in UTF-8 (ArgumentError)"s/ *[0-9]* *//")
from /home/harel/.fzf/fzf:446:in `trim'
from /home/harel/.fzf/fzf:380:in `format'
from /home/harel/.fzf/fzf:681:in `block (2 levels) in update_list'
from /home/harel/.fzf/fzf:675:in `each'
from /home/harel/.fzf/fzf:675:in `each_with_index'
from /home/harel/.fzf/fzf:675:in `block in update_list'
from /home/harel/.fzf/fzf:695:in `call'
from /home/harel/.fzf/fzf:695:in `block in start_renderer'
ruby version:
ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux]
from fzf.
Thanks for the info. The exception was thrown inside trim
method which is only called when the length of an item is wider than the screen width. And the failing regex match was made to determine the width of a character. I've just updated the code to ignore the error and simply assume that the width is 1. So it's not the ultimate fix to the underlying problem, but I think it's harmless.
Could you update and test again? Should work fine.
from fzf.
I believe this has been fixed. Please reopen if you see this problem again. Thanks.
from fzf.
Related Issues (20)
- How to find file from zoxide result ? HOT 1
- Broken zsh shell integration on 0.51+ HOT 1
- last commit broke fzf.vim integration HOT 1
- code **<TAB> doesn't execute fzf HOT 5
- execute(echo {}) does not work with tmux integration on v0.53.0 HOT 2
- Divide by zero with --tiebreak=end for long-line inputs HOT 1
- Windows: Mouse-clicking doesn't work properly in bash HOT 1
- Merge fish history before showing history widget HOT 3
- Vi-mode for input field navigation and editing. Maybe by introducing readline support? HOT 1
- Ability to control search order (or have `--nth` respect it) HOT 2
- Cannot exclude symbolic links from search HOT 9
- `--walker-skip symlink-to-dir` not skipped
- Missing directory slashes when completion chosen HOT 16
- make CTRL-T work with directories outside the current one HOT 3
- Dynamically changing colors HOT 1
- Dynamically changing preview label position HOT 4
- Panic when killing script since 83b6033 'main.go' HOT 1
- Option to disable terminal beep when exiting search HOT 5
- 0.53.0: --bind behaviour changed? HOT 4
- Feature request: Ability to display current line position and matched item count in fzf info HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fzf.