<feed xmlns='http://www.w3.org/2005/Atom'>
<title>fzf/src/util/chars.go, branch v0.66.0-custom</title>
<subtitle>Personal fork of fzf</subtitle>
<link rel='alternate' type='text/html' href='https://grim.freemyip.com/cgit/fzf/'/>
<entry>
<title>with-nth: Do not trim trailing whitespaces with background colors</title>
<updated>2025-06-24T11:27:24+00:00</updated>
<author>
<name>Junegunn Choi</name>
<email>junegunn.c@gmail.com</email>
</author>
<published>2025-06-24T11:23:30+00:00</published>
<link rel='alternate' type='text/html' href='https://grim.freemyip.com/cgit/fzf/commit/?id=8d81730ec2855d3d32a171f8b675430ffb4c4d59'/>
<id>8d81730ec2855d3d32a171f8b675430ffb4c4d59</id>
<content type='text'>
Example:
  echo -en '  \e[48;5;232mhello\e[48;5;147m  ' | fzf --ansi --with-nth 1
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Example:
  echo -en '  \e[48;5;232mhello\e[48;5;147m  ' | fzf --ansi --with-nth 1
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix wrapping of the list section</title>
<updated>2025-03-15T16:57:20+00:00</updated>
<author>
<name>Junegunn Choi</name>
<email>junegunn.c@gmail.com</email>
</author>
<published>2025-03-15T16:55:11+00:00</published>
<link rel='alternate' type='text/html' href='https://grim.freemyip.com/cgit/fzf/commit/?id=f92f9f137a7a222465892f30776db48a7ecc8ad9'/>
<id>f92f9f137a7a222465892f30776db48a7ecc8ad9</id>
<content type='text'>
  # The first line of the second chunk would prematurely wrap
  printf '%0500s\n\n%0500s' 0 0 | fzf --wrap --read0
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  # The first line of the second chunk would prematurely wrap
  printf '%0500s\n\n%0500s' 0 0 | fzf --wrap --read0
</pre>
</div>
</content>
</entry>
<entry>
<title>Trim trailing whitespaces after processing ANSI sequences</title>
<updated>2025-02-26T07:17:12+00:00</updated>
<author>
<name>Junegunn Choi</name>
<email>junegunn.c@gmail.com</email>
</author>
<published>2025-02-26T07:17:12+00:00</published>
<link rel='alternate' type='text/html' href='https://grim.freemyip.com/cgit/fzf/commit/?id=639253840fc553cc6a082b3f1275e72903ecc0eb'/>
<id>639253840fc553cc6a082b3f1275e72903ecc0eb</id>
<content type='text'>
Close #4282
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Close #4282
</pre>
</div>
</content>
</entry>
<entry>
<title>Make --accept-nth and --with-nth support templates</title>
<updated>2025-02-12T11:15:04+00:00</updated>
<author>
<name>Junegunn Choi</name>
<email>junegunn.c@gmail.com</email>
</author>
<published>2025-02-12T11:15:04+00:00</published>
<link rel='alternate' type='text/html' href='https://grim.freemyip.com/cgit/fzf/commit/?id=84e2262ad63df2112f16b2a80fc661294c3da45e'/>
<id>84e2262ad63df2112f16b2a80fc661294c3da45e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add --accept-nth option to transform the output</title>
<updated>2025-02-09T02:53:35+00:00</updated>
<author>
<name>Junegunn Choi</name>
<email>junegunn.c@gmail.com</email>
</author>
<published>2025-02-09T02:53:35+00:00</published>
<link rel='alternate' type='text/html' href='https://grim.freemyip.com/cgit/fzf/commit/?id=2b584586ed1caf15429625da981575ee35d407b8'/>
<id>2b584586ed1caf15429625da981575ee35d407b8</id>
<content type='text'>
This option can be used to replace a sed or awk in the post-processing step.

  ps -ef | fzf --multi --header-lines 1 | awk '{print $2}'
  ps -ef | fzf --multi --header-lines 1 --accept-nth 2

This may not be a very "Unix-y" thing to do, so I've always felt that fzf
shouldn't have such an option, but I've finally changed my mind because:

* fzf can be configured with a custom delimiter that is a fixed string
  or a regular expression.
* In such cases, you'd need to repeat the delimiter again in the
  post-processing step.
* Also, tools like awk or sed may interpret a regular expression
  differently, causing mismatches.

You can still use sed, cut, or awk if you prefer.

Close #3987
Close #1323
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This option can be used to replace a sed or awk in the post-processing step.

  ps -ef | fzf --multi --header-lines 1 | awk '{print $2}'
  ps -ef | fzf --multi --header-lines 1 --accept-nth 2

This may not be a very "Unix-y" thing to do, so I've always felt that fzf
shouldn't have such an option, but I've finally changed my mind because:

* fzf can be configured with a custom delimiter that is a fixed string
  or a regular expression.
* In such cases, you'd need to repeat the delimiter again in the
  post-processing step.
* Also, tools like awk or sed may interpret a regular expression
  differently, causing mismatches.

You can still use sed, cut, or awk if you prefer.

Close #3987
Close #1323
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix incorrect overflow detection when --wrap is set</title>
<updated>2024-11-11T15:33:07+00:00</updated>
<author>
<name>Junegunn Choi</name>
<email>junegunn.c@gmail.com</email>
</author>
<published>2024-11-11T15:24:31+00:00</published>
<link rel='alternate' type='text/html' href='https://grim.freemyip.com/cgit/fzf/commit/?id=3ec035c68bd48cdb619f1329c21eaf53d77abc81'/>
<id>3ec035c68bd48cdb619f1329c21eaf53d77abc81</id>
<content type='text'>
Fix #4083
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix #4083
</pre>
</div>
</content>
</entry>
<entry>
<title>Add --wrap option and 'toggle-wrap' action (#3887)</title>
<updated>2024-06-25T08:08:47+00:00</updated>
<author>
<name>Junegunn Choi</name>
<email>junegunn.c@gmail.com</email>
</author>
<published>2024-06-25T08:08:47+00:00</published>
<link rel='alternate' type='text/html' href='https://grim.freemyip.com/cgit/fzf/commit/?id=70bf8bc35dfb31eb1963c92fa72e38261fa0056a'/>
<id>70bf8bc35dfb31eb1963c92fa72e38261fa0056a</id>
<content type='text'>
* `--wrap`
* `--wrap-sign`
* `toggle-wrap`

Close #3619
Close #2236
Close #577
Close #461

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* `--wrap`
* `--wrap-sign`
* `toggle-wrap`

Close #3619
Close #2236
Close #577
Close #461

</pre>
</div>
</content>
</entry>
<entry>
<title>Different marker for the first and last line of multi-line entries</title>
<updated>2024-05-26T16:35:05+00:00</updated>
<author>
<name>Junegunn Choi</name>
<email>junegunn.c@gmail.com</email>
</author>
<published>2024-05-26T16:20:56+00:00</published>
<link rel='alternate' type='text/html' href='https://grim.freemyip.com/cgit/fzf/commit/?id=2f51eb2b414f3e27f0d3ab3f4ef1a3f3a48c6d06'/>
<id>2f51eb2b414f3e27f0d3ab3f4ef1a3f3a48c6d06</id>
<content type='text'>
Can be configured via `--marker-multi-line`
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Can be configured via `--marker-multi-line`
</pre>
</div>
</content>
</entry>
<entry>
<title>Implement multi-line display of multi-line items</title>
<updated>2024-05-20T00:25:30+00:00</updated>
<author>
<name>Junegunn Choi</name>
<email>junegunn.c@gmail.com</email>
</author>
<published>2024-05-19T16:33:33+00:00</published>
<link rel='alternate' type='text/html' href='https://grim.freemyip.com/cgit/fzf/commit/?id=04db44067dd4d9bf7f85ae4d704e740d7420f957'/>
<id>04db44067dd4d9bf7f85ae4d704e740d7420f957</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Improve search performance by limiting the search scope</title>
<updated>2024-04-14T02:48:44+00:00</updated>
<author>
<name>Junegunn Choi</name>
<email>junegunn.c@gmail.com</email>
</author>
<published>2024-04-13T22:52:42+00:00</published>
<link rel='alternate' type='text/html' href='https://grim.freemyip.com/cgit/fzf/commit/?id=e86b81bbf5c55344f4e29060b71eb1ab563296fe'/>
<id>e86b81bbf5c55344f4e29060b71eb1ab563296fe</id>
<content type='text'>
Find the last occurrence of the last character in the pattern and
perform the search algorithm only up to that point.

The effectiveness of this mechanism depends a lot on the shape of the
input and the pattern.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Find the last occurrence of the last character in the pattern and
perform the search algorithm only up to that point.

The effectiveness of this mechanism depends a lot on the shape of the
input and the pattern.
</pre>
</div>
</content>
</entry>
</feed>
