summaryrefslogtreecommitdiffstats
path: root/gui/terminal.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Whitespace cleanupMatt Mower2017-01-181-4/+7
| | | | Change-Id: I93c65973679894bb8587da4b38b410d38036b8bd
* gui: fix Enter key in terminalthat2016-08-011-2/+0
| | | | | | Translating CR to LF was an old hack that breaks Enter in nano. Change-Id: If259e8b133f2f56f4126a1fb68856bf014a2daae
* HACK: fix input focus on terminalEthan Yonker2016-03-311-1/+5
| | | | | | | | | | This makes the terminal grab focus no matter what on SetPageFocus which isn't ideal but it's unlikely that any other visible input elements will be on the page with a terminal anyway. Credit _that for pointing me in the right direction for this fix. Change-Id: I2b0e6fc1169521f58e863c58f7ef3578413dfb21
* Update minuitwrp graphics in line with latest minuiEthan Yonker2016-01-271-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | Note: events.cpp is still old code renamed to cpp to make it easier to call functions like gr_fb_width(). I had to modify AOSP fbdev code to provide a separate memory surface for drawing to as drawing directly to the framebuffer resulted in rendering taking about 5 times longer. I also modified AOSP adf code to provide a separate memory surface for drawing for the same performance reasons. The Nexus 9 supports adf graphics. Overlay graphics work on at least one device. Overlay provides a separate memory buffer already so performance is good. I do not have a drm device yet that I know of. I made some attempt to update the drm code to determine the correct pixel format based on the drm graphics format, but what is available in pixel flinger and what is available in drm do not line up all that well. Reports are that the Pixel C is using drm graphics, but performance is slow, likely due to the use of a mmap instead of a memory buffyer. Change-Id: Ibd45bccca6ac2cb826037aa9b2aa5065cf683eed
* gui: fix return value of NotifyKeythat2016-01-191-0/+2
| | | | | | | Only the last action got its keys and ate all of them (om nom nom). This fixes the power button action that activates the lock screen. Change-Id: Ia724568b159090c2c14a282cf3927915b2dc70e7
* gui: reap terminal child process to avoid zombiesthat2016-01-111-10/+21
| | | | Change-Id: Ia46d8acb8b13075a2519df1deb91dd30a5969a48
* gui: add terminal emulatorthat2016-01-071-0/+888
Emulates enough of a VT-100 to run busybox vi. Change-Id: I99c829c6c9de2246194ecb8b8b3cdf4ac34a0606