Commit Graph

  • 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
  • c0736676ce core: match and emit function keys Mitchell Hashimoto 2023-08-12 21:55:55 -07:00
  • 23f6f950b9 input: add all the mappings for pc style function keys Mitchell Hashimoto 2023-08-12 20:27:20 -07:00
  • 5e2fa50d0b macos-option-as-alt config, handle alt-prefix for charCallback Mitchell Hashimoto 2023-08-12 16:30:52 -07:00
  • c964a3f4c8 core: translate alt- prefix to an esc (0x1B) prefix Mitchell Hashimoto 2023-08-12 16:04:48 -07:00
  • 387c62d226 add more ctrl key sequencs for legacy ascii Mitchell Hashimoto 2023-08-12 11:03:02 -07:00
  • 32993ff3e6 Merge pull request #280 from mitchellh/gtk-inherit Mitchell Hashimoto 2023-08-13 12:37:00 -07:00
  • acb2d882e5 Merge pull request #279 from mitchellh/nix-update Mitchell Hashimoto 2023-08-13 12:16:41 -07:00
  • 81995fc078 apprt/gtk: inherit font size on new windows and tabs Mitchell Hashimoto 2023-08-13 12:15:42 -07:00
  • cec58ae6b5 Merge pull request #278 from mitchellh/fc-retry Mitchell Hashimoto 2023-08-13 11:59:12 -07:00
  • b18e7393e1 build: remove hardcoded glibc, I don't think this error is happening Mitchell Hashimoto 2023-08-13 11:57:43 -07:00
  • 2df7789f3e update to nix 23.05 Mitchell Hashimoto 2023-08-13 11:53:23 -07:00
  • 0af6edc25b only the app should own the font discovery instance Mitchell Hashimoto 2023-08-13 11:51:24 -07:00
  • bddf24f378 Merge pull request #275 from mitchellh/fc-init-once Mitchell Hashimoto 2023-08-13 08:19:13 -07:00
  • 619d2ade3e only initialize font discovery mechanism once, cache on App Mitchell Hashimoto 2023-08-13 08:01:33 -07:00
  • a8426a90dd input: carbon modifier bits were not correct for some modifiers Mitchell Hashimoto 2023-08-12 15:32:18 -07:00
  • 923df53825 ci: use custom token for release so it isn't rate limited Mitchell Hashimoto 2023-08-12 11:41:22 -07:00
  • 63fa34ef6b terminal: avoid underflow on resize, tests added Mitchell Hashimoto 2023-08-12 11:30:07 -07:00
  • 6fec9f8096 Merge pull request #273 from mitchellh/wide-resize Mitchell Hashimoto 2023-08-12 10:31:56 -07:00
  • 9b5fd4b2ee terminal: print wide char with 1-col width Mitchell Hashimoto 2023-08-12 10:27:18 -07:00
  • 71c8d5fc8e terminal: resizing to 1 col wide with wide chars Mitchell Hashimoto 2023-08-12 10:23:06 -07:00
  • 44dd51a5b9 terminal: less col resizing with wide char needs to insert head spacer Mitchell Hashimoto 2023-08-12 10:07:13 -07:00
  • eb10e9642c terminal: introduce wide spacer head if reflowing wide char w/ more cols Mitchell Hashimoto 2023-08-12 09:49:26 -07:00
  • 3d5eda62fe terminal: resize more cols with wide spacer head across multiple lines Mitchell Hashimoto 2023-08-12 08:26:13 -07:00