Commit Graph

220 Commits

Author SHA1 Message Date
Daniel Micay d9a2e7e42a update_selection doesn't modify select_info 2012-07-09 16:07:08 -04:00
Daniel Micay 46b739c9d6 update_selection: SELECT_OFF check not needed 2012-07-09 03:24:44 -04:00
Daniel Micay 458087627d add some polish to visual mode switching
* switching between visual modes should not reset the begin row/col
* selection should be updated as soon as the mode is switched
2012-07-09 03:19:48 -04:00
Daniel Micay 131cb20584 keyboard-select with scrollback support
note: currently doesn't draw a visible selection cursor
2012-07-09 03:10:08 -04:00
Daniel Micay eefb56f24c put code for moving cursor to EOL in a function 2012-07-08 05:39:37 -04:00
Daniel Micay 34f209634a wrap vte_terminal_feed for null-terminated strings 2012-07-08 03:37:45 -04:00
Daniel Micay a5b0e77c99 use const in more places 2012-07-08 01:48:39 -04:00
Daniel Micay 1e2114aa57 minor reorganization in cursor_moved_cb 2012-07-08 01:32:30 -04:00
Daniel Micay 5045c6beb0 reduce scope of begin/end to normal visual mode 2012-07-08 01:16:09 -04:00
Daniel Micay 1a21165a48 simplify visual line mode selection 2012-07-08 01:15:00 -04:00
Daniel Micay 711fc059e4 simplify visual block mode selection 2012-07-08 01:14:46 -04:00
Daniel Micay ac2585297c add $ (EOL) and ^ (BOL) bindings to selection mode 2012-07-07 00:11:46 -04:00
Daniel Micay 62c62ab254 clear selection when leaving selection mode 2012-07-06 22:56:47 -04:00
Daniel Micay 115e466615 support visual block mode 2012-07-06 22:46:00 -04:00
Daniel Micay 7443b8fb8b add visual line mode 2012-07-06 20:38:46 -04:00
Daniel Micay 603c99acc7 pick the right selection starting point 2012-07-06 20:16:48 -04:00
Daniel Micay 8bb2c476df AtkText -> vte_terminal_select_text
vte requires a patch to expose this for now, but it's the only way to do
this since AtkText is completely broken
2012-07-06 20:05:20 -04:00
Daniel Micay 7b1760d1ad use the cursor-moved event to fix visual mode 2012-07-05 22:59:14 -04:00
Daniel Micay 124979d812 move #define to the top 2012-07-05 22:59:14 -04:00
Daniel Micay 284e170321 sizeof -> strlen 2012-07-05 22:59:14 -04:00
Daniel Micay 41b39d8d71 remove_selection -> vte_terminal_select_none 2012-07-05 22:59:14 -04:00
Daniel Micay 7c76a8fc01 rm unused include 2012-07-05 22:59:14 -04:00
Daniel Micay ad3f6b3144 use the actual cursor for selection mode 2012-07-05 22:59:13 -04:00
Daniel Micay d2e627e10a add arrow key bindings for selection 2012-07-05 22:59:13 -04:00
Daniel Micay e667bb9d9d begin is set when entering visual mode 2012-07-05 22:59:13 -04:00
Daniel Micay ca7cb0c3ed set the begin point when entering visual mode 2012-07-05 22:59:13 -04:00
Daniel Micay 6e6a255c7e implement toggling visual mode 2012-07-05 22:59:13 -04:00
Daniel Micay f8c8c748f0 initial implementation of keyboard selection 2012-07-05 22:59:13 -04:00
Daniel Micay 9c8d7c3490 expose option for wrapping scrollback search 2012-07-04 23:41:53 -04:00
Daniel Micay 7a3e1991c5 set WINDOWID in the child's environment 2012-07-01 13:44:30 -04:00
Daniel Micay 88f7d39b5e silence -Wconversion warnings 2012-06-26 21:30:34 -04:00
Daniel Micay 34c041b6f3 consistent brace style 2012-06-25 16:08:53 -04:00
Daniel Micay f89df13e5a allow configuration of the whole palette 2012-06-25 16:05:23 -04:00
Daniel Micay cdc4ad4433 expose both the bold and dim foreground colors 2012-06-25 15:37:06 -04:00
Daniel Micay 169d970ad1 use const for filename 2012-06-25 03:13:09 -04:00
Daniel Micay b71dd341b1 make colors array const 2012-06-25 03:04:31 -04:00
Daniel Micay eb5bf78048 make url_regex const 2012-06-25 03:00:18 -04:00
Daniel Micay e39418eaca set_colors before foreground/background/dim 2012-06-25 02:18:12 -04:00
Daniel Micay d92778fd62 use termite as TERM again to allow for some fixes 2012-06-25 00:43:48 -04:00
Daniel Micay d14a6b3346 add support for dim colors 2012-06-25 00:00:59 -04:00
Daniel Micay a5fa9c0a05 put the palette size in a constant 2012-06-24 23:15:50 -04:00
Daniel Micay 9bd628d66d avoid casting the type of panel 2012-06-20 11:25:04 -04:00
Daniel Micay d3518ff7e2 bubble up the child's exit status 2012-06-19 19:20:59 -04:00
Daniel Micay 61f93b8176 rename tmp -> tag 2012-06-19 19:13:55 -04:00
Daniel Micay aa1a43378a rm extra space 2012-06-19 19:01:27 -04:00
Simon Gomizelj 86ecb024a4 Forgot to initialize variable 2012-06-19 18:55:56 -04:00
Simon Gomizelj 422dae672c Add --version/-v flag 2012-06-19 18:55:02 -04:00
Daniel Micay 94f52426d4 move some common color code to a function 2012-06-19 18:56:00 -04:00
Daniel Micay 5f9a4026e5 error reporting for the rest of the color parsing 2012-06-19 17:37:52 -04:00
Daniel Micay 46f1aa9ea9 rm unnecessary VTE_TERMINAL casts 2012-06-19 16:11:48 -04:00