aboutsummaryrefslogtreecommitdiffhomepage
path: root/screen.c
Commit message (Collapse)AuthorAge
* remove trailing spacesGravatar Grissiom2010-09-18
| | | | | This is done by `sed -i -e 's/[ \t]*$//' *.[c,h]`, which should not introduce any functionality change.
* Fix casting warnings in screen.c / s_update() by casting al_get() twice to ↵Gravatar Ben Hoskings2010-04-09
| | | | convert type and then size, instead of both at once.
* Check return value of a few write calls and retry on EINTR, and fix a few ↵Gravatar axel2009-02-23
| | | | | | other warnings, mostly by printing error messages before giving up. darcs-hash:20090222202852-ac50b-b0e79142af5b7a99e55271d4001fa252d9684a1d.gz
* Add lots of new code comments.Gravatar liljencrantz2008-01-14
| | | | darcs-hash:20080113164747-75c98-9d0cefd27be7aef7ba60772616d9da7e6bb52912.gz
* Fix swallowing of last line on prompt display. Again. How many times have I ↵Gravatar liljencrantz2007-10-15
| | | | | | triggered this bug? darcs-hash:20071015132106-75c98-11863d8b1743b84f6ad448b64e5ccdeb5aaa5a2f.gz
* Check whether '$TERM' starts with 'screen' instead of whether it's an exact ↵Gravatar James Vega2007-10-14
| | | | | | | | match when determining if \ek\e\\ should be recognized. There are various terminfo entries for screen that should be recognized aside from simply 'screen' such as 'screen-256color' and 'screen-bce'. darcs-hash:20071013184358-35ec8-5e85add3cc1667781590e12118a98ec6641bc714.gz
* Remove readline legacy input function 'winch' and replace its functionality ↵Gravatar liljencrantz2007-10-01
| | | | | | with an event handler function. Once again make the null keybinding do nothing. There are various sitauations where you want to perform a repaint at just the right time, and more or less by luck it worked very well to do this on null, but this really shouldn't happen and no longer does. Hopefully if new repainting issues turn up, they can be fixed at the root instead of once again reapplying this broken bandaid. darcs-hash:20070930225354-75c98-8e2b518aa0ef694cee889c1c599ff4f158d9eb7f.gz
* Improve documentation in screen handling codeGravatar liljencrantz2007-09-24
| | | | darcs-hash:20070924085602-75c98-0a60a87de51e0dbf7e64221b0382401e72745465.gz
* Make prompt have its own line if we things don't fit on a single lineGravatar liljencrantz2007-09-24
| | | | darcs-hash:20070924084933-75c98-0b139cdab5da3f9c9f358d09275ed15fc0fbba52.gz
* Make sure that ouput with no trailing newline is not eaten. This is a ↵Gravatar liljencrantz2007-09-24
| | | | | | regression bug fix. darcs-hash:20070924081301-75c98-86bd87a9323044807e78b8eb904bd6c5830ee23f.gz
* Fix compilation with Sun Studio compiler changing \e to \x1b as it does not ↵Gravatar Claes Nästén2007-08-22
| | | | | | support \e as an escape character. darcs-hash:20070822075239-cac88-1a9768bf35295615d553192d9a494f00db26f742.gz
* Add a 'generic' type of event that can be emited from any piece of code or ↵Gravatar liljencrantz2007-08-20
| | | | | | by the user. Use this event layer to perform interactive configuration startup at the correct time. darcs-hash:20070819164230-75c98-f91b8a73de7bbbb500d80770ddf4d2d46ae592cc.gz
* Add a mino-prompt when the normal prompt is too large to display. The old ↵Gravatar liljencrantz2007-08-03
| | | | | | behaviour was to simply not print any proimpt, but that lead to thinking fish had hanged since there was no prompt at all. darcs-hash:20070802225939-75c98-16623ffd640c6036331844334b0ff6f9f211934d.gz
* Implement a minimal 'dumb terminal mode'. This mode is used to at least get ↵Gravatar axel2007-08-02
| | | | | | the relevant information on-screen when using a dumb terminal, though the interface is pretty crippled. darcs-hash:20070801190754-ac50b-4a07ba05455f3ff55e337a78320dc4302cd3502c.gz
* When clearing a line in the screen handler, also make sure that the internal ↵Gravatar axel2007-01-30
| | | | | | state reflects this. This helps avoid issues with wiping out parts of the prompt darcs-hash:20070129174358-ac50b-73d002a44ef53ba63e33c66073eea6fec449b9d0.gz
* Add missing include in screen.cGravatar axel2006-11-18
| | | | darcs-hash:20061117145925-ac50b-267cb0b81f78672f3522cb320a0e951f84f70de2.gz
* A few additional input checks, minor code simplifications, and some ↵Gravatar axel2006-11-15
| | | | | | indentation/documentation fixes darcs-hash:20061115133046-ac50b-a6145bd9a63b6667357cc3ec603e185696bf1951.gz
* Add support for detecting and handling the screen-specific \ek\e\ escape ↵Gravatar axel2006-11-15
| | | | | | sequence for setting the titlebar message in the prompt calculating code. darcs-hash:20061114162125-ac50b-debe872f5916328f74a4560d0833b33f9eb89a40.gz
* Minor cleanups, mostly of code commentsGravatar axel2006-11-11
| | | | darcs-hash:20061111105452-ac50b-24ab7965f6208ecdfced738e08cdb4cb4a565458.gz
* Minor edits, remove unneeded code, add a few commants, correct spelling, ↵Gravatar axel2006-10-26
| | | | | | tweak the todo list, etc. darcs-hash:20061026102253-ac50b-eb42fdab9a9211d68386a563134856a96b870d90.gz
* Minor code simplifications in the reader and related librariesGravatar axel2006-10-17
| | | | darcs-hash:20061016153226-ac50b-830735fadfdf578dfa4c686a2a6cd98df0e50c95.gz
* Make the screen repainting code slightly more robust by keeping track of ↵Gravatar axel2006-10-09
| | | | | | whether clr_eol may be needed to clear 'debris' from e.g. resizes darcs-hash:20061009132642-ac50b-6162ed86a97771a8da4be2adff3ad6a4f1851616.gz
* Various minor cleanupsGravatar axel2006-10-09
| | | | darcs-hash:20061009103408-ac50b-a54797b9f89f51a8fc8f13674e8fd2329e989d4c.gz
* Fis minor memory leak in screen handling codeGravatar axel2006-10-08
| | | | darcs-hash:20061008004704-ac50b-3f40073c00f1ebd8e851c49e2df873c423637d0c.gz
* Add autoindentation supportGravatar axel2006-10-07
| | | | darcs-hash:20061007005625-ac50b-11873654797eb1e98fd17893022bdf995be3e2aa.gz
* Color the ellipsis used by line wrapping as comments. Thanks to Philip ↵Gravatar axel2006-10-06
| | | | | | Ganchev for the suggestion. darcs-hash:20061005194026-ac50b-2708cfe79f28dbae9febc3fc5fcddb48c1fc8822.gz
* Move the code keeping track of file descriptor modification from reader.c to ↵Gravatar axel2006-10-05
| | | | | | screen.c darcs-hash:20061004233312-ac50b-9a10ff758375885ae78a5e5c04279c1976a037ea.gz
* Detect and handle terminals size changesGravatar axel2006-10-05
| | | | darcs-hash:20061004214502-ac50b-aaf5b76a6281c0ba8757e794b0a802793ce92916.gz
* Various fixes to make double-wide characters (e.g. asian characters) work ↵Gravatar axel2006-10-02
| | | | | | with the new multiline editing code darcs-hash:20061001232136-ac50b-9bd771b382c00b71c5e2ee75df77ba2594b2a738.gz
* Second cleanup of multiline editing patch. Add code comments, use better ↵Gravatar axel2006-10-02
| | | | | | variable names, etc.. darcs-hash:20061001212243-ac50b-6cd5abfcf6b7013fd23b27734ca29af27d945ca3.gz
* First cleanup of multiline patch - add support for commands longer than one ↵Gravatar axel2006-10-02
| | | | | | line and do minor cleanups, including removal of a few unused functions darcs-hash:20061001205423-ac50b-2819a086fecb1bcd0ab1bc63bae76956f0181f54.gz
* First stab at multiline editingGravatar axel2006-10-02
darcs-hash:20061001160258-ac50b-1a760913e64b96e30ff321d7fbe4069ca161cdfe.gz