Commit Graph

242 Commits

Author SHA1 Message Date
Daniel Micay a255895b45 get down to a single VTE_TERMINAL cast 2012-07-16 21:47:48 -04:00
Daniel Micay ac0eec3871 rm static from local constants 2012-07-16 19:11:16 -04:00
Daniel Micay 6a01d52f35 rm extra match_remove 2012-07-16 18:36:16 -04:00
Daniel Micay f26eda9a6f reduce the number of casts needed 2012-07-16 18:20:00 -04:00
Daniel Micay 611e1f8580 cleanup callback connect section 2012-07-16 18:08:36 -04:00
Daniel Micay 911ae4de61 make more settings dynamically configurable
urgent_on_bell, dynamic_title and clickable_url can now be turned on and
off dynamically
2012-07-16 17:56:45 -04:00
Daniel Micay d84707ea77 move search_panel_info init above load_config 2012-07-16 17:09:57 -04:00
Daniel Micay f90d92823c pausing output needs to be done differently
XON/XOFF is a fragile solution
2012-07-11 18:45:53 -04:00
Daniel Micay 9bdf88c84a XON has to be sent before restoring c_iflag 2012-07-11 17:45:59 -04:00
Daniel Micay 53c1e6cd50 pause output while in command mode 2012-07-11 16:32:35 -04:00
Daniel Micay 87da2c8359 make search part of selection mode 2012-07-11 03:38:07 -04:00
Daniel Micay 3780b89749 add yank binding to selection mode 2012-07-11 02:06:40 -04:00
Daniel Micay 605237703b draw the selection cursor when entering the mode 2012-07-11 00:01:00 -04:00
Daniel Micay 3bdfd30e0f cursor has to be redrawn when exiting visual mode 2012-07-10 19:12:26 -04:00
Daniel Micay fd08745d2b move selection code out of callbacks section 2012-07-10 00:47:35 -04:00
Daniel Micay 9d8cfcef84 termite.c: cleanup 2012-07-10 00:02:55 -04:00
Daniel Micay 66f0ef35aa update for new vte_terminal_select_text API 2012-07-09 22:27:17 -04:00
Daniel Micay b9ea216495 temporary hack: use selection as a cursor 2012-07-09 21:13:27 -04:00
Daniel Micay 02d7e42037 add bindings for jumping to first/last row 2012-07-09 19:42:25 -04:00
Daniel Micay 6d4f833f03 clamp cursor_row between first/last rows 2012-07-09 19:29:22 -04:00
Daniel Micay 70da200dd9 move the scrollback with the selection cursor 2012-07-09 16:57:09 -04:00
Daniel Micay ae51cb0e98 get rid of useless end_row and end_col variables 2012-07-09 16:16:41 -04:00
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