Commit Graph

  • a18503fc01 macos: can always set base config on new tab Mitchell Hashimoto 2023-08-18 09:21:47 -07:00
  • 5eb902592c c include: u8 => u16 Mitchell Hashimoto 2023-08-18 09:19:22 -07:00
  • a960faa2b8 apprt/embedded: use setfontsize so that the original font size is retained Mitchell Hashimoto 2023-08-18 09:13:59 -07:00
  • 96fc1c55ef Merge pull request #304 from mitchellh/mouse-scroll Mitchell Hashimoto 2023-08-18 09:10:09 -07:00
  • 79971c62a6 macos: pass around a base surface_config_s rather than a new tab Mitchell Hashimoto 2023-08-18 09:09:43 -07:00
  • 49caecb3dd Merge pull request #303 from mitchellh/ri-scroll Mitchell Hashimoto 2023-08-18 08:46:37 -07:00
  • 95b88d38c2 mouse scroll events were flipped for non-cursor key events Mitchell Hashimoto 2023-08-18 08:45:24 -07:00
  • 8435d45bc9 terminal: proper reverseIndex behavior with scroll region set Mitchell Hashimoto 2023-08-18 08:32:13 -07:00
  • e8a6d09297 build: gtk needs imgui Mitchell Hashimoto 2023-08-18 08:25:20 -07:00
  • 3879f7c2e8 build: imgui should not be linked without an apprt Mitchell Hashimoto 2023-08-18 08:24:09 -07:00
  • 7659a2a733 build: fix linking bugs for macos test Mitchell Hashimoto 2023-08-18 08:23:58 -07:00
  • 0bdd73797e Fix rendering issues with bash shell integration (#301) Mitchell Hashimoto 2023-08-17 22:42:26 -07:00
  • cda87a6963 embedded: use separate struct to pass options to new_tab_cb Thorsten Ball 2023-08-18 06:50:47 +02:00
  • 9d61212451 Simplify Bash Integration (#299) Mitchell Hashimoto 2023-08-17 21:50:42 -07:00
  • 12311e9707 macOS: simplify code for new tab Thorsten Ball 2023-08-18 06:19:54 +02:00
  • 95591115de update README Mitchell Hashimoto 2023-08-17 17:12:51 -07:00
  • 0323f10905 Merge pull request #297 from mitchellh/disable-glfw Mitchell Hashimoto 2023-08-17 16:55:26 -07:00
  • 68a9110d8e build: make glfw opt-in on all platforms, default to GTK on Linux Mitchell Hashimoto 2023-08-17 15:21:18 -07:00
  • fe1e879ec7 termio: disable kitty keyboard protocol for glfw Mitchell Hashimoto 2023-08-17 15:08:39 -07:00
  • a8f37f50e6 Update README.md Mitchell Hashimoto 2023-08-17 14:55:24 -07:00
  • a6e1b3d232 Note bash shell integration in README Mitchell Hashimoto 2023-08-17 14:36:15 -07:00
  • c8a07abdf3 terminal: ignore SOH/STX, bash sends this for some reason Mitchell Hashimoto 2023-08-17 13:40:11 -07:00
  • a058bcbdb0 shell-integration: add bash script (no auto-inject yet) Mitchell Hashimoto 2023-08-17 13:26:06 -07:00
  • b7e1122224 input: remove old TODO. This is handled now in the app runtimes Mitchell Hashimoto 2023-08-17 12:59:22 -07:00
  • 72f5370066 apprt/glfw: always say alt is consumed on macos Mitchell Hashimoto 2023-08-17 12:51:07 -07:00
  • 3e7c4475a1 macOS: move newTab code to PrimaryWindowManager Thorsten Ball 2023-08-17 20:48:16 +02:00
  • d2dae7a696 macOS: inherit font size when creating new tab Thorsten Ball 2023-08-15 14:21:18 +02:00
  • 91456fe420 input: repeat events need to be handled for Kitty w/o report events Mitchell Hashimoto 2023-08-17 11:23:13 -07:00
  • df517abec2 Merge pull request #295 from mitchellh/kitty-keys Mitchell Hashimoto 2023-08-17 10:12:57 -07:00
  • 78080f0cd6 input: proper optional entry handling Mitchell Hashimoto 2023-08-17 09:52:44 -07:00
  • 6493da0dd3 input: Kitty encodes alternate keys Mitchell Hashimoto 2023-08-17 09:48:15 -07:00
  • fe0e1f5ee8 input: key must provide unshifted codepoint Mitchell Hashimoto 2023-08-17 09:24:44 -07:00
  • 37daf02804 core: use Kitty encoding if enabled Mitchell Hashimoto 2023-08-17 09:02:43 -07:00
  • fb9dc74b29 input: lot more Kitty encoding logic Mitchell Hashimoto 2023-08-17 08:55:37 -07:00
  • 91ba53b081 input: KittySequence for encoding sequences Mitchell Hashimoto 2023-08-17 08:43:40 -07:00
  • c5177f6609 input: begin kitty key encoding logic (not working yet) Mitchell Hashimoto 2023-08-16 22:08:16 -07:00
  • b42178bf34 input: add kitty keymap data Mitchell Hashimoto 2023-08-16 22:08:05 -07:00
  • 9717f6c832 Merge pull request #293 from mitchellh/mrn/macos-dead-code Mitchell Hashimoto 2023-08-16 22:06:05 -07:00
  • 0597b03fa2 macOS: remove dead code from PrimaryWindowController Thorsten Ball 2023-08-17 07:04:46 +02:00
  • f60066a64d terminfo: add fullkbd for kitty keyboard protocol Mitchell Hashimoto 2023-08-15 21:55:14 -07:00
  • af4ede40f1 terminal: implement CSI = u for setting kitty keyboard flags Mitchell Hashimoto 2023-08-15 21:50:24 -07:00
  • a9d7e0eb7f terminal: parse kitty query, push, pop keyboard flags Mitchell Hashimoto 2023-08-15 21:41:44 -07:00
  • c80b1bed75 terminal: add Kitty key flags, stack Mitchell Hashimoto 2023-08-15 21:27:53 -07:00
  • 07d722b77e bindings should not use consumed modifiers Mitchell Hashimoto 2023-08-16 17:09:17 -07:00
  • 20ddf51d2c Merge pull request #292 from mitchellh/fixterms Mitchell Hashimoto 2023-08-16 14:36:10 -07:00
  • 9cef09c58d input: do not send ctrl-sequences for ctrl-i,m,[ Mitchell Hashimoto 2023-08-16 14:12:10 -07:00
  • 2ff2e018ba input: clarify why we use all mods for unicode CSI u Mitchell Hashimoto 2023-08-16 14:04:38 -07:00
  • dcf9cdd8bf input: CSI u encoding for modified unicode chars Mitchell Hashimoto 2023-08-16 13:57:17 -07:00
  • 33bef28850 rename key2callback to keycallback Mitchell Hashimoto 2023-08-16 13:40:57 -07:00
  • 4e8f5d3997 remove charCallback/keyCallback Mitchell Hashimoto 2023-08-16 13:39:44 -07:00
  • dd385cc633 apprt/glfw: convert to new key2callback Mitchell Hashimoto 2023-08-16 13:34:31 -07:00
  • cd90b2a716 apprt/embedded: only call new key2callback Mitchell Hashimoto 2023-08-16 13:26:22 -07:00
  • 896d0e8fcf apprt/gtk: only use key2callback Mitchell Hashimoto 2023-08-16 13:02:31 -07:00
  • 83ba2b9825 apprt/gtk: clean up keyval_unicode usage Mitchell Hashimoto 2023-08-16 12:51:00 -07:00
  • 1a918bc64b apprt/gtk: call new key2callback using the all-in-one key event Mitchell Hashimoto 2023-08-16 10:37:48 -07:00
  • c254a8b09e input: encoding should always write to the buf Mitchell Hashimoto 2023-08-16 10:36:22 -07:00
  • aadb78394b input: legacy encoding never emits sequence during dead key state Mitchell Hashimoto 2023-08-16 10:14:43 -07:00
  • 9b90692fc7 core: start on key2Callback for the new callback that uses KeyEncoder Mitchell Hashimoto 2023-08-16 10:12:40 -07:00
  • a2d4e7ce29 input: legacy key encoding handles alt-as-esc for general utf8 Mitchell Hashimoto 2023-08-16 10:12:14 -07:00
  • 871f797758 input: KeyEncoder handles the charCallback stuff now too Mitchell Hashimoto 2023-08-16 09:51:33 -07:00
  • 6555bb1410 input: KeyEncoder legacy encoding handles old keyCallback logic Mitchell Hashimoto 2023-08-16 09:30:36 -07:00
  • f57fd99d3e input: starting to work on KeyEncoder, got ctrl sequences Mitchell Hashimoto 2023-08-16 08:52:53 -07:00
  • 62081a51b0 core: add KeyEvent Mitchell Hashimoto 2023-08-16 08:12:07 -07:00
  • 01282d3d15 core: process fixterms sequences for modified unicode characters Mitchell Hashimoto 2023-08-16 07:50:45 -07:00
  • 759ae94f15 macos: do not send ctrl or super into UCKeyTranslate Mitchell Hashimoto 2023-08-15 22:38:54 -07:00
  • e74a173704 apprt/gtk: translate keyval if there is no utf8 Mitchell Hashimoto 2023-08-16 12:47:51 -07:00
  • 8ca8da38d8 Merge pull request #291 from mitchellh/grapheme-sel Mitchell Hashimoto 2023-08-15 15:57:26 -07:00
  • 40c8fa4907 Merge pull request #288 from mitchellh/push-pop-mode Mitchell Hashimoto 2023-08-15 15:34:44 -07:00
  • 9e27dcdec9 font: shaper doesn't split run on selection if selection splits grapheme Mitchell Hashimoto 2023-08-15 15:14:35 -07:00
  • c8d1745791 terminal: selection string must include grapheme data Mitchell Hashimoto 2023-08-15 14:55:43 -07:00
  • 67fb8d9bd4 terminal: do not crash if selecting a wide spacer on a soft-wrapped line Mitchell Hashimoto 2023-08-15 14:38:13 -07:00
  • 6a4b25714a terminal: add a test to verify our grapheme state is what we expect Mitchell Hashimoto 2023-08-15 13:55:35 -07:00
  • ab68569281 renderer/opengl: fix compilation for new modes style Mitchell Hashimoto 2023-08-15 13:33:06 -07:00
  • d0bf6a914f termio: on restore mode we need to call setMode no matter what Mitchell Hashimoto 2023-08-15 11:47:31 -07:00
  • 06f82ad713 terminal: parse and handle save/restore mode (CSI ? s, CSI ? r) Mitchell Hashimoto 2023-08-15 11:43:07 -07:00
  • 951aa00c63 terminal: move to new modes struct Mitchell Hashimoto 2023-08-15 11:00:22 -07:00
  • c5439ca516 Merge pull request #287 from mitchellh/macos-key Mitchell Hashimoto 2023-08-15 11:15:36 -07:00
  • 2b2b23dcf6 apprt/embedded: keycallback should use nomod text to determine key Mitchell Hashimoto 2023-08-15 11:13:01 -07:00
  • 716c343f07 terminal: ModeState can save/restore one set of modes Mitchell Hashimoto 2023-08-14 22:35:35 -07:00
  • e467a48df0 terminal: working on new modes storage abstraction Mitchell Hashimoto 2023-08-14 22:22:40 -07:00
  • d27bc1f0fe termio: send VT220 device attributes on request, add secondary Mitchell Hashimoto 2023-08-15 08:12:46 -07:00
  • 2e54a825bf modify keys state 2 depends on some scenarios Mitchell Hashimoto 2023-08-14 21:07:08 -07:00
  • 28ff9118b0 Merge pull request #286 from mitchellh/modify-keys-ctrl Mitchell Hashimoto 2023-08-14 18:18:59 -07:00
  • a1e70afbb1 modifyOtherKeys state 2 should send sequences for all chars Mitchell Hashimoto 2023-08-14 17:53:20 -07:00
  • 9d89c56bfc Merge pull request #285 from mitchellh/left-right-alt Mitchell Hashimoto 2023-08-14 13:20:46 -07:00
  • cbd6a325e9 config: macos-option-as-alt now accepts "left", "right" Mitchell Hashimoto 2023-08-14 12:50:21 -07:00
  • 721087be76 macos: send the left/right status of modifier keys Mitchell Hashimoto 2023-08-14 12:40:48 -07:00
  • e7bb9c60b2 input: expand Mods size, convert everything to use it Mitchell Hashimoto 2023-08-14 12:31:16 -07:00
  • 3556cf8407 input: unify binding-sensitive mods to a single func Mitchell Hashimoto 2023-08-14 11:51:10 -07:00
  • 2e69b22fcf Merge pull request #282 from mitchellh/kitty-keys Mitchell Hashimoto 2023-08-13 16:30:25 -07:00
  • 49a9d626ec apprt/gtk: convert keyval to unicode if input method doesn't process Mitchell Hashimoto 2023-08-13 16:27:46 -07:00
  • a2310afa4e terminal: ignore ESC \ which enables ST mode since we're always in it Mitchell Hashimoto 2023-08-13 15:52:38 -07:00
  • aec342918b input: various more helpers Mitchell Hashimoto 2023-08-13 15:38:30 -07:00
  • cea6f5f51d terminal: parse mode 1039 Mitchell Hashimoto 2023-08-13 15:15:11 -07:00
  • 6fb9a113c1 apprt/glfw: send mods to charcallback Mitchell Hashimoto 2023-08-13 15:12:25 -07:00
  • 4a384aa272 parse and respect mode 1036 Mitchell Hashimoto 2023-08-13 15:12:13 -07:00
  • 2ed6e6a40a config: remove pc style function keys, handled separately now Mitchell Hashimoto 2023-08-13 08:04:03 -07:00
  • 77df7a0e7f terminal: support disable modify key format sequence ESC[>n Mitchell Hashimoto 2023-08-12 22:42:36 -07:00
  • 66aa1d9be3 terminal: parse and handle set modify key format (ESC[>{a};{b}m) Mitchell Hashimoto 2023-08-12 22:27:46 -07:00
  • d94474463b terminal: handle set application keypad mode (both ESC and modes) Mitchell Hashimoto 2023-08-12 22:01:38 -07:00