summaryrefslogtreecommitdiffstats
path: root/src/tui
AgeCommit message (Collapse)Author
2017-09-09Clean up renderer codeJunegunn Choi
Remove code that is no longer relevant after the removal of ncurses renderer. This commit also fixes background color issue on tcell-based FullscreenRenderer (Windows).
2017-09-08Fix custom foreground color inside preview window (addendum)Junegunn Choi
This fixes foreground color inside preview window when the text has ANSI attributes except for foreground color. Close #1046
2017-09-02Delete ncurses implementationJunegunn Choi
2017-08-09Remove unnecessary SCP (Save Cursor Position)Junegunn Choi
It is reported that it can have an unwanted side effect of clearing the screen on terminal emulators that do not properly support it. Patch suggested by @arya. Close #1011
2017-08-02Exit 2 instead of panic when failed to open /dev/ttyJunegunn Choi
2017-07-21Fix regression: ANSI color in preview window not clearedJunegunn Choi
2017-07-19Improve preview window renderingJunegunn Choi
- Fix incorrect display of the last line when more than a line is wrapped above - Avoid unnecessary flickering of the window
2017-07-18Adjust --no-clear option for repetitive relaunchingJunegunn Choi
Related: https://gist.github.com/junegunn/4963bab6ace453f7f529d2d0e01b1d85 Close #974
2017-06-22Fix handling of bracketed paste modeJunegunn Choi
fzf should immediately continue consuming the buffer after discarding bracketed paste mode sequence. Close #951
2017-06-03Fixes for CygwinJunegunn Choi
- Update install script to download Windows binary if $TERM == cygwin - Unset TERM if $TERM == cygwin (#933) - Always use cmd.exe instead of $SHELL when running commands
2017-06-01Use glide to handle go dependenciesEdgar Lee
2017-05-25Use read syscall directly to get character (#931)Tw
Due to go std lib uses poller for os.File introducing in this commit: https://github.com/golang/go/commit/c05b06a12d005f50e4776095a60d6bd9c2c91fac There are two changes to watch out: 1. os.File.Fd will always return a blocking fd except on bsd. 2. os.File.Read won't return EAGAIN error for nonblocking fd. So For 1, we just get tty's fd in advance and then set its block mode. For 2, we use read syscall directly to get what we wanted error(EAGAIN). Fix issue #910. Signed-off-by: Tw <tw19881113@gmail.com>
2017-05-22Implement bindable "change" event and "top" actionJunegunn Choi
# Move cursor to the top result whenever the query string is changed fzf --bind change:top Close #925
2017-04-28Support CTRL-Z (SIGSTOP)Junegunn Choi
2017-04-28Add support for ctrl-alt-[a-z] key chordsJunegunn Choi
Close #906
2017-03-04Use alternate screen only when the value of height is 100%Junegunn Choi
Do not automatically decide to use alternate screen when the value of height exceeds the height of the terminal. # Use alternate screen fzf fzf --height 100% fzf --no-height # Still use current screen fzf --height 10000
2017-03-04Add --no-clear optionJunegunn Choi
2017-02-18Add toggle-preview-wrap actionJunegunn Choi
2017-02-14Fix indentationJunegunn Choi
2017-02-14Move cursor to the top-left when returning to alternate screenJunegunn Choi
Fix broken preview border. Reported by Thomas Sattler. fzf --bind 'enter:execute(date)' --preview=date --reverse
2017-02-04Add --border option to draw horizontal lines above and below the finderJunegunn Choi
Goes well with --height
2017-02-02Suppress CSI codes in the outputJunegunn Choi
2017-01-30Fix display issues with execute actionJunegunn Choi
- Move cursor to the top-left corner when starting a command in alternate screen - Fix cursor position when returning to alternate screen when fzf is running in full screen mode
2017-01-28Add support for ctrl-space keyJunegunn Choi
Close #825
2017-01-23Delete every line below the cursorJunegunn Choi
2017-01-23Minor refactoringJunegunn Choi
2017-01-23Cursor postition response can be preceded by user key strokesJunegunn Choi
2017-01-23Disable mouse if failed to query cursor positionJunegunn Choi
2017-01-22Drop ncurses dependencyJunegunn Choi
Close #818
2017-01-22Use alternate screen if --height needs the entire screenJunegunn Choi
- Remove unnecessary scrolling - Allow us to use `--height 100%` under Neovim terminal for 24-bit colors Related: - #789 - https://github.com/neovim/neovim/issues/4151
2017-01-22Clear lines even when background color is not setJunegunn Choi
Also revert the workaround in Vim plugin introduced in fa7c897. Related: #814
2017-01-16Propertly fill window with background colorJunegunn Choi
Close #805
2017-01-16Optimize LightRenderer for slow terminalsJunegunn Choi
2017-01-15Use crypto/ssh/terminal instead of external stty commandJunegunn Choi
2017-01-11Print error message to stderr on unexpected exitJunegunn Choi
2017-01-11Make preview renderer suspend early on line wrapJunegunn Choi
2017-01-11No need to use /bin/sh to execute stty and tputJunegunn Choi
2017-01-11Make fzf immediately quit when failed to read /dev/ttyJunegunn Choi
Close #798
2017-01-10No need to query row position of the cursor if mouse is disabledJunegunn Choi
2017-01-10Add experimental support for 24-bit colorsJunegunn Choi
2017-01-09Do not use \e[s and \e[uJunegunn Choi
Excerpt from http://www.tldp.org/HOWTO/Bash-Prompt-HOWTO/x361.html: > - Save cursor position: > \033[s > - Restore cursor position: > \033[u > > The latter two codes are NOT honoured by many terminal emulators. The > only ones that I'm aware of that do are xterm and nxterm - even though > the majority of terminal emulators are based on xterm code. As far as > I can tell, rxvt, kvt, xiterm, and Eterm do not support them. They are > supported on the console. They are also unsupported by Neovim terminal.
2017-01-08Add --height optionJunegunn Choi
2016-12-05Fix Linux build (#756)Junegunn Choi
2016-12-05Truncate long lines in preview windowJunegunn Choi
Add `:wrap` to --preview-window to wrap lines instead Close #756
2016-11-26[tcell] 24-bit color supportJunegunn Choi
TAGS=tcell make install printf "\x1b[38;2;100;200;250mTRUECOLOR\x1b[m\n" | TERM=xterm-truecolor fzf --ansi
2016-11-25Workaround for rendering glitch in case of short-lived input processJunegunn Choi
: | fzf --preview 'echo foo'
2016-11-24[ncurses6] Suppress tui.Italic on ncurses 5Junegunn Choi
2016-11-24[ncurses6] Support italicsJunegunn Choi
2016-11-24[ncurses6] Use wcolor_set to support more than 256 color pairsJunegunn Choi
To build fzf with ncurses 6 on macOS: brew install homebrew/dupes/ncurses LDFLAGS="-L/usr/local/opt/ncurses/lib" make install
2016-11-23Make escape delay configurable via ncurses standard $ESCDELAYJunegunn Choi
Also reduce the default delay to 50ms. We should not set it to 0ms as it breaks escape sequences on WSL. If 50ms is not enough, one can increase the delay by setting $ESCDELAY to a larger value.