1465 Commits

Author SHA1 Message Date
Keith Winstein ca7a080a58 Optimize output if two frames differ in a scroll of top region 2011-02-21 01:57:45 -05:00
Keith Winstein 2d5304bba1 Support scroll up / scroll down (fixes bug w/nano reported by Anders Kaseorg) 2011-02-13 00:57:07 -05:00
Keith Winstein 5a20f61184 Use optimization 2011-02-12 17:13:31 -05:00
Anders Kaseorg e872ddad59 Terminal::Dispatcher::dispatch: Initialize map
Fixes this warning (which becomes an error with -Werror):

terminaldispatcher.cpp: In member function ‘void Terminal::Dispatcher::dispatch(Terminal::Function_Type, Parser::Action*, Terminal::Framebuffer*)’:
terminaldispatcher.cpp:156:19: error: ‘map’ may be used uninitialized in this function

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2011-02-12 17:04:17 -05:00
Keith Winstein 4760da93b3 Small cleanups 2011-02-12 13:14:47 -05:00
Nelson Elhage 1ef3010bc3 Suppress a warning about missing 'depend' file on initial build. 2011-02-12 10:08:46 -05:00
Keith Winstein 1565cb169e Fix crash involving one-column-wide terminals and resizing with wide chars 2011-02-12 02:10:32 -05:00
Keith Winstein 7d1013681f Speed up back color erase -- no more loop over all cells 2011-02-10 20:32:39 -05:00
Keith Winstein 0fb343292a Separate out state for new_frame() into a local variable 2011-02-10 20:11:17 -05:00
Keith Winstein 61251bf0bf Implement wrapped flag on output (can turn on and off wrap in terminal) 2011-02-10 19:59:49 -05:00
Keith Winstein 71dfd5a763 Modularize display code and add representation of wrapped line flag 2011-02-09 15:30:50 -05:00
Keith Winstein 1ee54cd70a Remove some debugging routines and add comments 2011-02-06 14:43:47 -05:00
Keith Winstein bab3f90e2b Better cursor-handling to save explicit moves on output 2011-02-06 03:52:29 -05:00
Keith Winstein 9ee3ef57bb Increase buffer size 2011-02-06 01:57:15 -05:00
Keith Winstein 1b48d7f0c9 Smarter poll interval 2011-02-06 01:48:57 -05:00
Keith Winstein fd0a2f06ae Fix bug that explicit renditions introduced to back color erase 2011-02-05 18:34:12 -05:00
Keith Winstein b8f7f06bf5 Serialize link steps so make -j works (necessary because of -frepo) 2011-02-05 18:16:04 -05:00
Keith Winstein e0065bfe5c Model renditions explicitly -- 25% speedup 2011-02-05 18:09:19 -05:00
Keith Winstein 2f964f80f4 Speedups 2011-02-05 07:16:33 -05:00
Keith Winstein 9b02204d72 Limit the frame rate 2011-02-05 06:25:01 -05:00
Keith Winstein eb9af5ebe7 Compact adjacent clears 2011-02-05 06:01:34 -05:00
Keith Winstein ca17e769b7 Bring some sanity to renditions (rationalize list on append) 2011-02-05 05:23:57 -05:00
Keith Winstein 80f469bdc6 Simplify if statement 2011-02-05 04:46:37 -05:00
Keith Winstein ee6e6d0e8f Smarter cursor movement, and fix bug with recursive termemu 2011-02-05 04:44:22 -05:00
Keith Winstein b4ae5674aa Simplify display output and fix bug with bce status 2011-02-05 04:16:41 -05:00
Keith Winstein 6785c9d18e Ctrl-L repaints screen 2011-02-05 03:27:31 -05:00
Keith Winstein eda2300a94 Fix typo in cursor visibility 2011-02-05 03:19:31 -05:00
Keith Winstein a54cc9d0c4 Added smarter display routine 2011-02-05 02:55:30 -05:00
Keith Winstein 225ddbe2bf Fix display bug involving back color erase and upper-left cell 2011-02-05 00:18:50 -05:00
Keith Winstein c91de0b24d Implement back color erase 2011-02-04 18:32:43 -05:00
Keith Winstein 2f7474481f Remove unnecessary copy constructor and operator= 2011-02-04 18:20:00 -05:00
Keith Winstein 63d2f5ce42 Support reverse video. 2011-02-04 02:04:09 -05:00
Keith Winstein 9dc3c425ad Fix bug in scrolling region reset 2011-02-04 01:56:28 -05:00
Keith Winstein 2edf66c9e9 Treat resize as another Action 2011-02-04 01:52:43 -05:00
Keith Winstein c4366234b1 Improvements to wrapper -- now runs user's shell 2011-02-04 01:33:07 -05:00
Keith Winstein 1b3972eac6 Reset scrolling region on resize 2011-02-04 00:57:26 -05:00
Keith Winstein f86b6b5e4b Better resize behavior re: combining char and scroll region 2011-02-03 23:45:44 -05:00
Keith Winstein d4be42ac3d Tell child initial window size. Fix combining char order flip 2011-02-03 23:28:04 -05:00
Keith Winstein 2812c7beaf Support resize 2011-02-03 22:18:27 -05:00
Keith Winstein 5a3c4a201b Handle cursor key mode (application vs. ANSI). "less" now works. 2011-02-03 03:56:02 -05:00
Keith Winstein 4ca5b35d7d Mark UserByte actions handled 2011-02-03 03:21:30 -05:00
Keith Winstein bab4f23b44 Handle user input through terminal 2011-02-03 03:19:06 -05:00
Keith Winstein 37c61f811b Move include statements 2011-02-03 02:01:21 -05:00
Keith Winstein 9bca84b3c6 Move parser outside of terminal emulator -- prepare for keyboard input 2011-02-03 01:59:55 -05:00
Keith Winstein 7989265fa0 Use iswprint() instead of isprint() 2011-02-01 06:11:35 -05:00
Keith Winstein fa31514de7 Fix some crashers, including libc Unicode related 2011-02-01 05:19:04 -05:00
Keith Winstein e057ea6598 Support setting window title (as OS command) 2011-02-01 04:14:16 -05:00
Keith Winstein 2f1ccdf6eb Cursor visibility 2011-02-01 02:53:39 -05:00
Keith Winstein 6265f192ad Soft reset 2011-02-01 02:48:08 -05:00
Keith Winstein 73af007db4 Support "reset" 2011-02-01 02:29:54 -05:00