aboutsummaryrefslogtreecommitdiffstats
path: root/src/pty-unix.c
Commit message (Collapse)AuthorAgeFilesLines
* suppress some compiler warningsJesse Luehrs2017-07-171-2/+4
|
* Revert "combine flushes when reading large amounts of data"Jesse Luehrs2017-02-121-13/+1
| | | | | | This reverts commit 6ee215a7797cbb15aed6136ccfcaf5daff5ae654. actually, the redraw_rate stuff should already be handling this
* combine flushes when reading large amounts of dataJesse Luehrs2017-02-121-1/+13
| | | | | on linux at least, you can only read 4096 bytes of data from a pty, so large writes would cause a lot of redraws
* no reason to go through an event hereJesse Luehrs2016-06-051-1/+1
| | | | | | | | i was only doing this before because libuv was using threads, and so i needed a way to trigger redraws on the main thread. if there are other reasons that we might want to delay redraws (to avoid blocking the event loop, for instance), we should just do that by scheduling a 0-timeout timer or something.
* enable an explicit std, and move the feature test macro to a cflagJesse Luehrs2016-06-041-1/+0
| | | | | we can't enable pedantic here, because a pangocairo header makes gcc unhappy
* don't overwrite our env changes with a passed in envJesse Luehrs2016-06-041-10/+10
| | | | our changes always need to happen, on top of whatever env was passed in
* support spawning terminals with different environmentsJesse Luehrs2016-05-141-1/+11
|
* convert to libeventJesse Luehrs2016-05-121-10/+7
| | | | also remove all code supporting threading stuff
* split global window management stuff out into its own fileJesse Luehrs2016-05-111-23/+23
| | | | also rename a few things for clarity
* refactor how submodules are handledJesse Luehrs2016-05-101-6/+10
| | | | | | let them own their own memory, so that they can free themselves once they exit the loop. also split out the parts of the terminal that we only want to initialize once, even if we open multiple terminal windows
* make terms handle cleaning themselves upJesse Luehrs2016-05-101-0/+5
|
* the event loop shouldn't care about terms at allJesse Luehrs2016-05-071-7/+7
|
* stop including term.h in runes.hJesse Luehrs2016-05-071-0/+1
|
* move the scroll-down-on-input behavior into the window backendJesse Luehrs2016-05-071-6/+1
|
* use pointer indirection to separate source files even moreJesse Luehrs2016-05-071-16/+22
|
* be a bit more explicit about dependencies between modulesJesse Luehrs2016-05-071-0/+2
|
* split up some unnecessary cross-module dependenciesJesse Luehrs2016-05-071-5/+6
|
* make sure we include errno.h everywhere necessaryJesse Luehrs2016-05-041-0/+1
|
* indicate that we support 256 colorsJesse Luehrs2016-05-031-1/+1
| | | | this makes tmux work properly
* the event loop should own the terminal, not the other way aroundJesse Luehrs2016-05-011-2/+2
| | | | | this way, we should be able to have multiple terminals in the same process
* pull the remainder of the libuv code into loop.cJesse Luehrs2016-05-011-23/+10
|
* allow env vars in single-word commandsJesse Luehrs2016-04-301-1/+1
|
* pull event loop handling into its own fileJesse Luehrs2016-04-301-3/+5
|
* restore ability to parse escape sequences across packetsJesse Luehrs2016-04-261-2/+5
|
* use the libvt100 libraryJesse Luehrs2015-08-201-2/+2
|
* abstract out error logging a bitJesse Luehrs2014-05-081-0/+1
| | | | | just spitting things to stderr isn't always going to be good enough, so let's at least provide one place to change that when necessary
* more refactoringJesse Luehrs2014-05-041-9/+11
|
* refactorJesse Luehrs2014-05-041-2/+2
|
* scroll to bottom on inputJesse Luehrs2014-05-041-0/+5
|
* refactor to make alternate screens work againJesse Luehrs2014-05-041-2/+2
|
* move config stuff out to a separate structJesse Luehrs2014-04-301-1/+1
|
* start refactoring to draw parsed text to an intermediary data structureJesse Luehrs2014-04-251-3/+3
|
* also clear COLORFGBGJesse Luehrs2014-04-231-0/+3
| | | | | if it's actually widely used, i'll set it to something reasonable instead, but leaving it set to the previous value is certainly wrong
* also set WINDOWIDJesse Luehrs2014-04-231-1/+5
|
* unset COLORTERM too (dolmen, #7)Jesse Luehrs2014-04-231-0/+6
|
* allow multi-word commandsJesse Luehrs2014-04-201-1/+6
|
* clean up the directory structure a bitJesse Luehrs2014-04-201-0/+138