Commit Graph

122 Commits

Author SHA1 Message Date
Kevin Lange
6e96830525 Fix potential out of bounds draw in terminal 2017-01-07 18:07:11 +09:00
Kevin Lange
169cd55095 Actually fill ws_xpixels/ws_ypixels, and use them for cat-img 2017-01-07 15:27:55 +09:00
Kevin Lange
252ead4db2 Don't pull in pthreads in things we just removed it from 2017-01-06 19:22:15 +09:00
Kevin Lange
7d47cab8ab Support fswait in tty 2017-01-06 19:01:22 +09:00
Kevin Lange
da3bc104e0 Support various unset escapes (bold off, italic off, underline off) 2017-01-04 16:11:47 +09:00
Kevin Lange
dce4ee98bd make consumers of timer ticks independent of tick rate 2017-01-03 16:07:23 +09:00
Kevin Lange
b8de2cbecb Ignore mouse scroll and other events outside of terminal window 2017-01-02 17:44:54 +09:00
Kevin Lange
3a924099fd Add a rudimentary API for providing timer ticks through Yutani 2017-01-01 20:39:18 +09:00
Kevin Lange
5ef927c175 Correct some issues with resizing terminals 2017-01-01 18:31:04 +09:00
Kevin Lange
9a5f5af07c Support scrolling terminal with mouse wheel 2017-01-01 18:30:53 +09:00
Kevin Lange
34361720f2 Scroll half terminal height on page up/down 2016-12-07 23:52:45 +09:00
Kevin Lange
76cae15eac Scroll to top and bottom of terminal with HOME/END 2016-12-07 23:16:10 +09:00
Kevin Lange
dbcbaa6190 Fix late decorations init in terminal 2016-12-07 14:19:45 +09:00
Kevin Lange
38e3741c66 Make sure we mark display regions for update when drawing images 2016-09-26 10:58:01 +09:00
Kevin Lange
11d0c2d9fe Support DEC show/hide cursor escapes. 2016-09-26 10:14:59 +09:00
Kevin Lange
c5b5a0e359 Very experimental images-in-terminal concept 2016-09-26 02:12:25 +09:00
Kevin Lange
799d36a983 Fix GPF in VGA terminal on VirtualBox 2016-09-04 19:05:12 +09:00
Kevin Lange
54d418cd8b First pass at modifier+arrows in terminal.
This is kinda rough and needs a finishing touch.

- Adds ncurses-specific terminfo entries for modifiers.
- Supports modifiers in the terminal itself.
- Updates the vim config to understand ctrl-arrows.
- Adds limited support for some modifiers in lib/kbd
  (as used by rline)
- Adds limited support for Ctrl+Arrows to rline
  (needs major improvements, only jumps to spaces)
2015-11-09 17:24:51 -08:00
Kevin Lange
02fbd0ef4b Fix weird VGA cursor positioning by moving it offscreen 2015-09-04 13:48:47 -07:00
Kevin Lange
0553a0802f Support DEL, HOME, END, INS, shift+TAB
Adds support for these keys in lib/kbd, adds mappings to terminfo,
supports them in the terminal, and adds support for HOME, END and DEL
to the shell.

Closes #71.
2015-08-20 10:48:53 -07:00
Kevin Lange
4cf6843441 Prune garbage from keyboard from before terminal started 2015-07-12 19:23:59 +09:00
Kevin Lange
06b57c14f8 Use pure-software cursor for VGA terminal, works better 2015-07-12 19:15:29 +09:00
Kevin Lange
7f608107dc Add half-filled character to VGA terminal mappings 2015-07-12 19:08:30 +09:00
Kevin Lange
20c9535d29 Clean up termemu and add a new kernel vga logging mechanism 2015-06-01 00:20:02 -07:00
Kevin Lange
a6f071f9c8 New scroll rows should set background colors. 2015-05-01 00:36:50 -07:00
Kevin Lange
dd74cdcec2 Map Vim config'd tab/space characters in VGA terminal 2015-04-29 16:29:36 -07:00
Kevin Lange
4fd1ae9aa3 Support scrollwheel mice 2015-04-26 18:05:14 -07:00
Kevin Lange
a3f9ab465b Basic xterm (?1000 and ?1002) mouse support 2015-04-26 17:14:14 -07:00
Kevin Lange
1147d45cdb Don't blink the cursor in unfocused terminals 2015-04-05 15:50:52 -07:00
Kevin Lange
fe95e33422 Fall back to variable-width font in terminal 2014-09-08 21:17:46 -07:00
Kevin Lange
aaeb7d10f4 Port a bunch of other stuff to use getpwuid, etc. 2014-08-26 22:12:33 -07:00
Kevin Lange
a0a6ece24d Run $SHELL on terminal startup instead of hard-coded /bin/sh 2014-08-26 21:37:45 -07:00
Kevin Lange
ae570f8f48 Toggle decorations in terminal with F12 2014-08-04 21:54:18 -07:00
Kevin Lange
49752793b7 Close button support in decorations library 2014-08-01 21:17:41 -07:00
Kevin Lange
b59871ca67 More random terminal cleanup while we're here 2014-06-08 19:47:24 -07:00
Kevin Lange
546ec13ec2 Use diamond as Unicode replacement character in vga text-mode 2014-06-08 00:32:00 -07:00
Kevin Lange
827bd1fe04 Fix horizontal lines in vga text mode 2014-06-08 00:29:56 -07:00
Kevin Lange
ef7d72c1e1 License headers and a tool to generate them 2014-06-07 23:13:29 -07:00
Kevin Lange
e4732df6e1 And support dynamic (24-bit, 32-bit) colors as well 2014-06-07 22:20:27 -07:00
Kevin Lange
eccbd5d41e Map 256-color palette to VGA colors 2014-06-07 22:14:03 -07:00
Kevin Lange
b114700751 Fix scrolling/overhang in vga terminal 2014-06-07 22:13:51 -07:00
Kevin Lange
7e67bf0727 Break out of that particular escape on linefeed 2014-05-30 21:29:29 -07:00
Kevin Lange
e157147550 Fix buffer overflow in termemu 2014-05-30 21:20:13 -07:00
Kevin Lange
ab2a9f056f Quick and dirty display server nesting - lots of mouse event changes 2014-05-26 12:43:22 -07:00
Kevin Lange
ce0dacb912 Use spinlock.h instead of continually definign this as static in a bunch of apps 2014-05-18 19:34:49 -07:00
Kevin Lange
0cdfcf766e Support frameless non-fullscreen terminals 2014-05-18 19:23:05 -07:00
Kevin Lange
71946d8a97 Invert resize rounding behavior for terminal 2014-05-18 18:10:18 -07:00
Kevin Lange
068f933a71 Kill some excessive debug output in the terminal 2014-05-18 12:24:17 -07:00
Kevin Lange
2675532013 Add a terminal option to disable rounding resizes to cell widths 2014-05-18 12:18:34 -07:00
Kevin Lange
3cb7b18c60 Client-initiated window drag 2014-05-18 11:54:20 -07:00