2094 Commits

Author SHA1 Message Date
Mitchell Hashimoto
d856aba84c selection toViewport point should extend to end of last row
Fixes #138
2023-03-28 09:30:47 -07:00
Mitchell Hashimoto
f5269df68f apprt/glfw: quit cleans up resources properly 2023-03-27 10:47:54 -07:00
Mitchell Hashimoto
69aaab50eb apprt/gtk: quit confirmation window 2023-03-27 10:45:27 -07:00
Mitchell Hashimoto
59f42f50a4 apprt/gtk: window close confirmation 2023-03-27 10:41:30 -07:00
Mitchell Hashimoto
4d29f028c6 apprt/gtk: close tab button will show confirmation properly 2023-03-27 10:35:49 -07:00
Mitchell Hashimoto
16244d0dab apprt/gtk: close keybind doesn't leak memory 2023-03-27 10:24:01 -07:00
Mitchell Hashimoto
f36a35ecc9 core: quit flag is reset after tick 2023-03-27 10:10:06 -07:00
Mitchell Hashimoto
4d41b3ff54 Merge pull request #134 from mitchellh/gtk-confirm
gtk, macos: show confirmation dialog on surface close with active child process
2023-03-26 10:59:09 -07:00
Mitchell Hashimoto
bc9973d37f apprt/gtk: set proper defaults to confirmation dialog 2023-03-25 16:45:17 -07:00
Mitchell Hashimoto
86c4a8ed7d apprt/embedded: support new process alive callback on close 2023-03-25 16:41:18 -07:00
Mitchell Hashimoto
3689f1fe39 apprt/gtk: only show exit confirmation if process is alive 2023-03-25 16:36:12 -07:00
Mitchell Hashimoto
2c0dbab7ba apprt/gtk: always confirm when surface is closed 2023-03-25 16:26:30 -07:00
Mitchell Hashimoto
1c587759a0 apprt/gtk: fix key callback 2023-03-25 15:45:15 -07:00
Mitchell Hashimoto
decaee61b2 apprt/embedded: support unmapped keys 2023-03-25 15:44:17 -07:00
Mitchell Hashimoto
67d3507f9a apprt/glfw: new keycallback for unmapped 2023-03-25 15:40:49 -07:00
Mitchell Hashimoto
c774e37548 core: input bindings support unmapped bindings 2023-03-25 15:36:37 -07:00
Mitchell Hashimoto
5dc98da9a0 build compiles at least 2023-03-24 19:39:50 -07:00
Mitchell Hashimoto
01c053d7fc terminal: parser must reset intermediate storage for utf8 2023-03-24 14:47:03 -07:00
Mitchell Hashimoto
5225836415 terminal: selectWord stops at single/double quote boundaries 2023-03-23 10:48:03 -07:00
Mitchell Hashimoto
f5ee25d172 font/shaper/web_canvas: needs to add null selection for shaper test 2023-03-23 10:35:05 -07:00
Mitchell Hashimoto
4af1a7f163 renderer/Metal: split runs on selection 2023-03-23 10:25:48 -07:00
Mitchell Hashimoto
2be4eb0da7 font/shaper: split runs at selection boundaries 2023-03-23 10:24:22 -07:00
Mitchell Hashimoto
d4cbe88c98 selection: containedRow for getting the row that contains a screen point 2023-03-23 10:01:09 -07:00
Mitchell Hashimoto
7ae200a1dc renderer/metal: fix color bug on macOS 13 Intel.
See the associated test.
2023-03-22 14:22:12 -07:00
Mitchell Hashimoto
5f5700259f shift-click extends selection 2023-03-21 21:12:15 -07:00
Mitchell Hashimoto
35fe74e599 core: scroll the surface when mouse is pulled above or below surface 2023-03-21 21:02:25 -07:00
Mitchell Hashimoto
bf699dd381 terminal: selection within logic is more correct, better tested
Fixes #108
2023-03-21 19:55:56 -07:00
Mitchell Hashimoto
70236ebc33 terminal: screen scroll with full scrollback modifies selection 2023-03-21 10:59:44 -07:00
Mitchell Hashimoto
dfb40426a0 move selection to screen 2023-03-21 10:43:50 -07:00
Mitchell Hashimoto
d9f41b4fa6 scroll viewport to bottom on certain character write events
Fixes #120
2023-03-20 20:58:00 -07:00
Mitchell Hashimoto
0cd6e08ca3 if no argv, then don't load CLI args 2023-03-20 15:51:27 -07:00
Mitchell Hashimoto
b1af02941a terminal: implement focus event mode 1004
https://invisible-island.net/xterm/ctlseqs/ctlseqs.html#h3-FocusIn_FocusOut
2023-03-20 15:20:14 -07:00
Mitchell Hashimoto
ce10d875b6 Merge pull request #117 from mitchellh/config-stuff
Reloadable Configuration
2023-03-19 12:32:23 -07:00
Mitchell Hashimoto
f28b677417 don't look up default shell from SHELL env if shell is set 2023-03-19 12:13:56 -07:00
Mitchell Hashimoto
b0b3b0af2d update config messages use pointers now to make messages small again 2023-03-19 10:48:42 -07:00
Mitchell Hashimoto
638e05454f termio: allow write req pool to grow if needed
This may be necessary if large amounts of data is being written (i.e. a
large clipboard paste). The pool is never shrunk again for now but once
the writes go through the buffer items will of course be reused so its
unlikely to need to continue growing.
2023-03-19 10:27:08 -07:00
Mitchell Hashimoto
e84fb55e2c surface mouse_interval is dynamically update-able 2023-03-19 10:14:28 -07:00
Mitchell Hashimoto
6f4e913182 termio/exec: comment about what we're updating 2023-03-19 10:11:32 -07:00
Mitchell Hashimoto
8f0be3ad9e termio: use DerivedConfig 2023-03-19 10:09:17 -07:00
Mitchell Hashimoto
7eda21d544 surface propagates new config to renderer 2023-03-19 09:50:55 -07:00
Mitchell Hashimoto
f34da17a11 renderer: use a DerivedConfig to avoid the main Config pointer 2023-03-19 09:50:54 -07:00
Mitchell Hashimoto
b26e51d222 macos: implement config reloading callback 2023-03-19 09:50:54 -07:00
Mitchell Hashimoto
8d3f40fa41 apprt/embedded: reload config support 2023-03-19 09:50:54 -07:00
Mitchell Hashimoto
f5c1dfa374 reload_config keybinding (defaults to ctrl+alt+super+space) 2023-03-19 09:50:53 -07:00
Mitchell Hashimoto
a9928cfb90 implement reload_config app message 2023-03-19 09:50:18 -07:00
Mitchell Hashimoto
3e1f975551 move config loading into apprt to prep for reloading 2023-03-19 09:50:17 -07:00
Mitchell Hashimoto
8cb9ee5d59 make it claer the config pointer is not stable after renderer/IO init 2023-03-19 09:49:44 -07:00
Mitchell Hashimoto
9b10b5d716 surface doesn't store a pointer to Config anymore 2023-03-19 09:49:44 -07:00
Mitchell Hashimoto
3ce7baf30e config: dedicated load func so we can reload 2023-03-19 09:49:44 -07:00
Mitchell Hashimoto
11e4215f9f config: implement comparison for keybinding change 2023-03-19 09:49:44 -07:00