ridiculousfish
be33d3f2a4
Revert "Merge pull request #1317 from pullreq/cpp"
...
This reverts commit 74135c0600
, reversing
changes made to 6d749789ce
.
See discussion in #1317
2014-02-28 02:16:48 -08:00
Geoff Nixon
18dd6f58e3
Fixes .c -> .cpp in comments. For doxygen.
2014-02-27 06:23:40 -08:00
ridiculousfish
5be3606236
Increased support for completion search field. Use btab (shift-tab) to
...
complete-and-search.
2014-01-27 00:56:13 -08:00
ridiculousfish
c6e5201e15
Initial support for navigating completions that appear under the
...
commandline using arrow keys
2014-01-17 12:04:03 -08:00
ridiculousfish
0627ae82fb
Clean up pager on exit from interactive read
2014-01-15 18:21:38 -08:00
ridiculousfish
54689f6087
Merge branch 'master' into pager
...
Conflicts:
highlight.h
2014-01-15 02:05:46 -08:00
ridiculousfish
53814983ff
Update style and formatting to conform to fish style guide.
2014-01-15 01:40:40 -08:00
ridiculousfish
40897cd7da
Merge branch 'master' into pager
...
Conflicts:
screen.h
2014-01-15 01:23:30 -08:00
ridiculousfish
e2fe873049
Change highlight colors from a bitmask into a combination enum / bitmask
...
so that we can support more than 16 color specifications.
2014-01-15 01:01:25 -08:00
ridiculousfish
295c8f48a6
Teach screen how to render completion page. Correct spacing in
...
completion page contents.
2014-01-14 15:39:53 -08:00
d10n
ded64758d5
Fix wide character wrapping.
...
The intention of the block removed appears to be to indent wrapped lines to the column the line started at. What actually happens is that all wrapped lines wrap to column 0.
After adding the sticky short prompt feature, the block removed caused a bug with wrapping wide characters in addition to not appearing to change anything else.
Wide characters would change between wrapping to column 0 and the column the command started at, depending on what column the wide character was at before wrapping.
I am keeping the existing behavior rather than restoring the block's original intention. If the original intention should be restored, it should be on a different branch.
2013-11-26 00:51:02 -08:00
d10n
2813dcc6cc
On short prompts, commands wider than the terminal do not reposition to start on their own lines.
2013-11-26 00:51:02 -08:00
devlin zed
f186812f18
clobber the prompt when it exceeds the screen width, not when it equals it
...
Closes #1069
2013-10-29 21:48:42 +08:00
ridiculousfish
cf766b55cc
Fix formatting
2013-10-26 15:27:39 -07:00
ridiculousfish
991c900fc6
Set of changes to improve detection of escape sequences for prompt width
...
computation. Addresses #767
2013-09-29 02:48:35 -07:00
ridiculousfish
d6791a836b
Include the autosuggestion in history if it was truncated
...
https://github.com/fish-shell/fish-shell/issues/650
2013-08-20 20:08:56 -07:00
ridiculousfish
220e1e8fb5
Fix for crash when setting tmux pane title
...
https://github.com/fish-shell/fish-shell/issues/846
2013-06-02 01:50:22 -07:00
David Adam (zanchey)
daf5ef1bbd
Kill termio.h and sys/termios.h
...
On FreeBSD, compilation complains that "this file includes
<sys/termios.h> which is deprecated, use <termios.h> instead". On Linux
and FreeBSD, <sys/termios.h> literally just pulls in <termios.h>. On OS
X and Solaris, <termios.h> pulls in <sys/termios.h>.
<termio.h> doesn't exist on FreeBSD or Mac OS X, and on Linux is marked
as deprecated and just includes <termios.h>. It does exist on Solaris,
but no `struct termio` is ever actually used in the codebase.
2013-03-05 12:25:00 -08:00
ridiculousfish
4416753df0
More cleanup based on static analysis
...
https://github.com/fish-shell/fish-shell/issues/575
2013-02-16 02:38:13 -08:00
ridiculousfish
ad8d68dd43
Make subcommands modify $status, and make builtin_set not modify status unless it fails
...
https://github.com/fish-shell/fish-shell/issues/547
https://github.com/fish-shell/fish-shell/issues/214
2013-01-31 15:57:08 -08:00
ridiculousfish
412902e4ae
Fix for an issue where the newline character would appear on blank lines. Instead of inverting the newline character, draw it in gray.
2013-01-24 12:08:32 -08:00
Cheer Xiao
a0edee51fa
Fix typo
2013-01-21 00:29:23 +08:00
ridiculousfish
c939f2ee45
Fix for an out-of-range exception when resizing the window during funced
...
Addresses https://github.com/fish-shell/fish-shell/issues/498
2013-01-06 15:33:50 -08:00
ridiculousfish
1c83144773
Reset the color before we clear to eol
...
Fixes https://github.com/fish-shell/fish-shell/issues/493
2013-01-04 22:32:40 -08:00
ridiculousfish
2628da4a59
Removed some debugging code used in determining autosuggestion truncation
...
Fixed a busted link in the function doc
2012-12-11 14:44:41 -08:00
ridiculousfish
eec6db0a23
forward-word should accept a word of an autosuggestion
...
https://github.com/fish-shell/fish-shell/issues/435
2012-12-10 16:23:08 -08:00
ridiculousfish
c8f7d33a9a
Hopeful fix for wrapping lines issue on Linux
...
https://github.com/fish-shell/fish-shell/issues/409
2012-12-06 02:54:25 -08:00
ridiculousfish
b9283d48b5
Added a history speed test
...
Profile driven caching of config directory
Style fixes
2012-12-03 02:25:08 -08:00
ridiculousfish
1feea366ca
Fix for off by one error with "missing newline" code
2012-12-01 20:05:49 -08:00
ridiculousfish
a122d2eb50
First attempt at appending a "missing new line" character
...
https://github.com/fish-shell/fish-shell/issues/397
2012-12-01 15:44:09 -08:00
ridiculousfish
4788da204b
Additional improvements to line wrapping reliability
2012-11-26 12:31:44 -08:00
ridiculousfish
cf11d1e4e6
Additional changes to try to improve line wrapping
2012-11-25 01:26:58 -08:00
ridiculousfish
e557327860
Coalesce redundant repaints, prepare to address some resizing issues (again!)
2012-11-24 21:06:42 -08:00
ridiculousfish
e152cfac34
Change to make the lookahead array a std::stack instead of a static 4k list(!)
2012-11-24 16:58:30 -08:00
ridiculousfish
464f1f44aa
Improvements to avoid clearing the screen as often, which addresses a problem where the screen may be blank
...
Fixes https://github.com/fish-shell/fish-shell/issues/402
2012-11-24 16:42:25 -08:00
ridiculousfish
26678682ca
Fix indentation of switch statements
2012-11-19 00:31:03 -08:00
ridiculousfish
9992b8eb0e
Apply new indentation, brace, and whitespace style
2012-11-18 16:30:30 -08:00
Łukasz Niemier
47df1ae40a
Remove trailing whitespaces and change tabs to spaces
2012-11-18 11:23:22 +01:00
ridiculousfish
1dfa404210
Revert "Another attempt to improve right prompt on Linux"
...
It didn't work
This reverts commit bd4551e2ef
.
2012-11-09 15:21:08 -08:00
ridiculousfish
bd4551e2ef
Another attempt to improve right prompt on Linux
2012-11-09 15:19:54 -08:00
ridiculousfish
d6a56428d1
Attempt to fix fish_right_prompt under Linux
2012-11-09 15:09:54 -08:00
ridiculousfish
d76f880faf
Support for fish_right_prompt
...
Fixes https://github.com/fish-shell/fish-shell/issues/80
2012-11-07 19:59:20 -08:00
ridiculousfish
21e83a881e
Bring back ellipsis
2012-11-05 00:05:42 -08:00
ridiculousfish
5ba1261285
Initial right_prompt work
2012-11-04 23:21:37 -08:00
ridiculousfish
618b42980d
Prevent multi-line prompts from repeating during window resize
...
Fixes https://github.com/fish-shell/fish-shell/issues/321
2012-10-15 19:25:56 -07:00
ridiculousfish
6b026e399c
Prevent some cases where garbage gets dumped on the screen during window resize under new soft wrapping architecture
2012-10-02 17:30:07 -07:00
ridiculousfish
a661c03743
Work on soft wrapping to address https://github.com/fish-shell/fish-shell/issues/300
...
Resizing is still wonky
2012-10-01 03:29:18 -07:00
Siteshwar Vashisht
16f2ffc29d
Remove ellipsis and newlines from long lines
...
Fix for issue https://github.com/fish-shell/fish-shell/issues/300
2012-09-18 00:42:11 +05:30
ridiculousfish
e3ec361552
Fixed indentation in next_tab_stop
2012-08-17 17:41:55 -07:00
ridiculousfish
bfccc7133d
Fix for issue where init_tabs can't be modified on NetBSD
2012-08-17 17:36:52 -07:00