aboutsummaryrefslogtreecommitdiffhomepage
path: root/screen.cpp
Commit message (Collapse)AuthorAge
* Fix wide character wrapping.Gravatar d10n2013-11-26
| | | | | | | | 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.
* On short prompts, commands wider than the terminal do not reposition to ↵Gravatar d10n2013-11-26
| | | | start on their own lines.
* clobber the prompt when it exceeds the screen width, not when it equals itGravatar devlin zed2013-10-29
| | | | Closes #1069
* Fix formattingGravatar ridiculousfish2013-10-26
|
* Set of changes to improve detection of escape sequences for prompt widthGravatar ridiculousfish2013-09-29
| | | | computation. Addresses #767
* Include the autosuggestion in history if it was truncatedGravatar ridiculousfish2013-08-20
| | | | https://github.com/fish-shell/fish-shell/issues/650
* Fix for crash when setting tmux pane titleGravatar ridiculousfish2013-06-02
| | | | https://github.com/fish-shell/fish-shell/issues/846
* Kill termio.h and sys/termios.hGravatar David Adam (zanchey)2013-03-05
| | | | | | | | | | | 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.
* More cleanup based on static analysisGravatar ridiculousfish2013-02-16
| | | | https://github.com/fish-shell/fish-shell/issues/575
* Make subcommands modify $status, and make builtin_set not modify status ↵Gravatar ridiculousfish2013-01-31
| | | | | | | unless it fails https://github.com/fish-shell/fish-shell/issues/547 https://github.com/fish-shell/fish-shell/issues/214
* Fix for an issue where the newline character would appear on blank lines. ↵Gravatar ridiculousfish2013-01-24
| | | | Instead of inverting the newline character, draw it in gray.
* Fix typoGravatar Cheer Xiao2013-01-21
|
* Fix for an out-of-range exception when resizing the window during funcedGravatar ridiculousfish2013-01-06
| | | | Addresses https://github.com/fish-shell/fish-shell/issues/498
* Reset the color before we clear to eolGravatar ridiculousfish2013-01-04
| | | | Fixes https://github.com/fish-shell/fish-shell/issues/493
* Removed some debugging code used in determining autosuggestion truncationGravatar ridiculousfish2012-12-11
| | | | Fixed a busted link in the function doc
* forward-word should accept a word of an autosuggestionGravatar ridiculousfish2012-12-10
| | | | https://github.com/fish-shell/fish-shell/issues/435
* Hopeful fix for wrapping lines issue on LinuxGravatar ridiculousfish2012-12-06
| | | | https://github.com/fish-shell/fish-shell/issues/409
* Added a history speed testGravatar ridiculousfish2012-12-03
| | | | | Profile driven caching of config directory Style fixes
* Fix for off by one error with "missing newline" codeGravatar ridiculousfish2012-12-01
|
* First attempt at appending a "missing new line" characterGravatar ridiculousfish2012-12-01
| | | | https://github.com/fish-shell/fish-shell/issues/397
* Additional improvements to line wrapping reliabilityGravatar ridiculousfish2012-11-26
|
* Additional changes to try to improve line wrappingGravatar ridiculousfish2012-11-25
|
* Coalesce redundant repaints, prepare to address some resizing issues (again!)Gravatar ridiculousfish2012-11-24
|
* Change to make the lookahead array a std::stack instead of a static 4k list(!)Gravatar ridiculousfish2012-11-24
|
* Improvements to avoid clearing the screen as often, which addresses a ↵Gravatar ridiculousfish2012-11-24
| | | | | | problem where the screen may be blank Fixes https://github.com/fish-shell/fish-shell/issues/402
* Fix indentation of switch statementsGravatar ridiculousfish2012-11-19
|
* Apply new indentation, brace, and whitespace styleGravatar ridiculousfish2012-11-18
|
* Remove trailing whitespaces and change tabs to spacesGravatar Łukasz Niemier2012-11-18
|
* Revert "Another attempt to improve right prompt on Linux"Gravatar ridiculousfish2012-11-09
| | | | | | It didn't work This reverts commit bd4551e2ef283639b26fdbf768b261cb0c51dbdd.
* Another attempt to improve right prompt on LinuxGravatar ridiculousfish2012-11-09
|
* Attempt to fix fish_right_prompt under LinuxGravatar ridiculousfish2012-11-09
|
* Support for fish_right_promptGravatar ridiculousfish2012-11-07
| | | | Fixes https://github.com/fish-shell/fish-shell/issues/80
* Bring back ellipsisGravatar ridiculousfish2012-11-05
|
* Initial right_prompt workGravatar ridiculousfish2012-11-04
|
* Prevent multi-line prompts from repeating during window resizeGravatar ridiculousfish2012-10-15
| | | | Fixes https://github.com/fish-shell/fish-shell/issues/321
* Prevent some cases where garbage gets dumped on the screen during window ↵Gravatar ridiculousfish2012-10-02
| | | | resize under new soft wrapping architecture
* Work on soft wrapping to address ↵Gravatar ridiculousfish2012-10-01
| | | | | | https://github.com/fish-shell/fish-shell/issues/300 Resizing is still wonky
* Remove ellipsis and newlines from long linesGravatar Siteshwar Vashisht2012-09-18
| | | | Fix for issue https://github.com/fish-shell/fish-shell/issues/300
* Fixed indentation in next_tab_stopGravatar ridiculousfish2012-08-17
|
* Fix for issue where init_tabs can't be modified on NetBSDGravatar ridiculousfish2012-08-17
|
* Fixed a bunch of clang analyzer warningsGravatar ridiculousfish2012-08-05
| | | | Simplified some memory allocations by migrating to std::string
* Fix for stack overflow when overflowing a lineGravatar ridiculousfish2012-08-04
|
* Fix for weird issues when a line becomes very long introduced by my warning ↵Gravatar ridiculousfish2012-08-04
| | | | fixes
* Switch from int cursor[2] to struct cursor { int x; int y; }Gravatar ridiculousfish2012-08-04
|
* Additional warning fixes and migration from int to size_t or long where ↵Gravatar ridiculousfish2012-08-04
| | | | appropriate
* Lots of work towards making fish build without warnings on Mountain Lion, ↵Gravatar ridiculousfish2012-08-04
| | | | mostly in terms of using size_t instead of int
* Warning cleanupGravatar ridiculousfish2012-08-04
|
* Minor refactoring and fixed a bug in history functionGravatar Siteshwar Vashisht2012-07-24
|
* Print fish prompt when command is longer than a lineGravatar Siteshwar Vashisht2012-07-21
| | | | Fix for https://github.com/fish-shell/fish-shell/issues/239
* Set of changes to improve Unicode support with respect to combining characters.Gravatar ridiculousfish2012-07-15
| | | | Should address https://github.com/fish-shell/fish-shell/issues/155