m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-11 21:03:49 -05:00

Compare commits

...

2 Commits

Author SHA1 Message Date
Junegunn Choi
922bc22ceb Fix CTRL-Z for tcell renderer by using the official API
See https://github.com/gdamore/tcell/pull/431
2025-09-14 11:43:51 +09:00
Junegunn Choi
223d0c0819 Fix rendering of multiple OSC 8 links in a single line
Fix #4517
2025-09-14 11:43:51 +09:00
2 changed files with 3 additions and 3 deletions

View File

@@ -3619,7 +3619,7 @@ func (t *Terminal) printColoredString(window tui.Window, text []rune, offsets []
for _, offset := range offsets { for _, offset := range offsets {
b := util.Constrain32(offset.offset[0], index, maxOffset) b := util.Constrain32(offset.offset[0], index, maxOffset)
e := util.Constrain32(offset.offset[1], index, maxOffset) e := util.Constrain32(offset.offset[1], index, maxOffset)
if url != nil && offset.url == nil { if url != nil && offset.url != url {
url = nil url = nil
window.LinkEnd() window.LinkEnd()
} }

View File

@@ -569,13 +569,13 @@ func (r *FullscreenRenderer) GetChar() Event {
func (r *FullscreenRenderer) Pause(clear bool) { func (r *FullscreenRenderer) Pause(clear bool) {
if clear { if clear {
r.Close() _screen.Suspend()
} }
} }
func (r *FullscreenRenderer) Resume(clear bool, sigcont bool) { func (r *FullscreenRenderer) Resume(clear bool, sigcont bool) {
if clear { if clear {
r.initScreen() _screen.Resume()
} }
} }