Skip to content
Myr

CTRL-L to clear and redraw the screen

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Junegunn Choi · committed by Junegunn Choi · parent b2d2be5 · Browse files · 2 files+4 added−4 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+4 added−4 removed

  • other:+4 added−4 removed

2 files+4 added−4 removed

modified:fzf+3 added-3 removed
5 unmodified lines
6# / /_/_ / / /_7# / __/ / /_/ __/8# /_/ /___/_/ Fuzzy finder for your shell9#10# Version: 0.7.1 (January 31, 2014)10# Version: 0.7.2-devel (February 1, 2014)11#12# Author: Junegunn Choi13# URL: https://github.com/junegunn/fzf14# License: MIT15#16# Copyright (c) 2013 Junegunn Choi16# Copyright (c) 2014 Junegunn Choi17#18# MIT License19#20# Permission is hereby granted, free of charge, to any person obtaining
661 unmodified lines
682683 def start_renderer684 Thread.new do685 begin686 refresh686 while blk = @queue.shift687 blk.call688 refresh689 end
74 unmodified lines
764 end765 },766 ctrl(:b) => proc { cursor = [0, cursor - 1].max; nil },767 ctrl(:f) => proc { cursor = [input.length, cursor + 1].min; nil },768 ctrl(:l) => proc { render { C.clear; C.refresh }; update_list true },769 :alt_b => proc { backword.call; nil },770 :alt_f => proc {771 cursor += (input[cursor..-1].index(/(\S\s)|(.$)/) || -1) + 1772 nil
220 unmodified lines
modified:fzf.gemspec+1 added-1 removed
1# coding: utf-82Gem::Specification.new do |spec|3 spec.name = 'fzf'4 spec.version = '0.7.1'4 spec.version = '0.7.2'5 spec.authors = ['Junegunn Choi']6 spec.email = ['junegunn.c@gmail.com']7 spec.description = %q{Fuzzy finder for your shell}8 spec.summary = %q{Fuzzy finder for your shell}
9 unmodified lines