diff options
| author | Junegunn Choi <junegunn.c@gmail.com> | 2025-02-01 11:16:16 +0900 |
|---|---|---|
| committer | Junegunn Choi <junegunn.c@gmail.com> | 2025-02-01 17:03:59 +0900 |
| commit | e84afe196a85f677aef272677a346082f88bdfb6 (patch) | |
| tree | eb2c2e349321ad3cedf51fb69dba80f28c074da2 /src/tui/light.go | |
| parent | e1e171a3c458b8bc7dc347cbbd89be30f490ffb8 (diff) | |
| download | fzf-e84afe196a85f677aef272677a346082f88bdfb6.tar.gz | |
Add {show,hide,toggle}-input and expose $FZF_INPUT_STATE
Diffstat (limited to 'src/tui/light.go')
| -rw-r--r-- | src/tui/light.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tui/light.go b/src/tui/light.go index 7b40efbb..ab7bd87f 100644 --- a/src/tui/light.go +++ b/src/tui/light.go @@ -1228,4 +1228,10 @@ func (w *LightWindow) EraseMaybe() bool { func (r *LightRenderer) HideCursor() { r.showCursor = false + r.csi("?25l") +} + +func (r *LightRenderer) ShowCursor() { + r.showCursor = true + r.csi("?25h") } |
