aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/input.cpp
Commit message (Collapse)AuthorAge
* implement swap-selection-start-stop functionGravatar Federico Ferri2016-03-20
| | | | | | | | | The swap-selection-start-stop function goes to the other end of the highlighted text, the equivalent of `o' for vim visual mode. Add binding to the swap-selection-start-stop function, `o' when in visual mode. Document swap-selection-start-stop, begin-selection, end-selection, kill-selection.
* Use vector instead of deque in input_function_push_argsGravatar ridiculousfish2016-02-02
| | | | deque is a memory hog last I checked
* Merge branch 'fix-jump' of git://github.com/cpick/fish-shell into cpick-fix-jumpGravatar ridiculousfish2016-02-02
|\
* | allow \cJ (\n) to be bound separate from \cM (\r)Gravatar Kurtis Rader2015-12-08
| | | | | | | | | | | | | | This makes it possible (on UNIX systems, don't know about MS Windows) to bind \cJ (\n) independently of \cM (\r, aka [enter]). Resolves #217
* | Make input_mapping_execute stop returning R_NULL too oftenGravatar ridiculousfish2015-11-07
| | | | | | | | | | | | | | | | | | | | input_mapping_execute, when passed false for allow_commands, will return R_NULL. However currently it does this unconditionally, even if we don't have any commands. This defeats our read-ahead optimization, so we always read and process one byte at a time. This caused pasting to be much slower. Fixes #2215
* | Eliminate global variables associated with builtin IOGravatar ridiculousfish2015-09-22
| | | | | | | | | | | | | | This change eliminates global variables like stdout_buffer. Instead we wrap up the IO information into a new struct io_streams_t, and thread that through every builtin. This makes the intent clearer, gives us a place to hang new IO data, and eliminates the ugly global state management like builtin_push_io.
* | Use the $TERM value from fish's computed environment for ncurses setupGravatar Chris Pick2015-09-09
| | | | | | | | | | | | | | | | | | | | Previously, the process's inherited $TERM value would be used. This prevented users from being able to set $TERM in their config.fish files. To make matters worse, the error message would print the computed $TERM value, giving the mistaken impression that it was being used. Signed-off-by: David Adam <zanchey@ucc.gu.uwa.edu.au>
| * Fix non-zero arity functions followed by other functionsGravatar Chris Pick2015-09-03
|/ | | | | | | Temporarily skip any queued function code characters when reading the current function's arguments. Fixes #2357.
* Define a constant for function-not-found in input.cppGravatar ridiculousfish2015-08-16
| | | | | Avoids differences in widths of wchar_t, hopefully addressing issue #2284
* Use ++iter, not iter++ in input.cppGravatar ridiculousfish2015-08-10
|
* Merge branch 'master' into iwyuGravatar David Adam2015-07-26
|
* Migrate source files into src/ directoryGravatar ridiculousfish2015-07-24
This change moves source files into a src/ directory, and puts object files into an obj/ directory. The Makefile and xcode project are updated accordingly. Fixes #1866