Commit graph

166 commits

Author SHA1 Message Date
FAlexei
529ee00ec9 Russian translation update 2024-02-02 14:04:37 -07:00
Jeremy Soller
539f39577f
Merge branch 'master' of https://github.com/pop-os/cosmic-term 2024-02-02 09:40:50 -07:00
Jeremy Soller
a5602e28f5
Update dependencies 2024-02-02 09:40:41 -07:00
Mattias Eriksson
623a193ad4 Make context menu work better with panes 2024-02-02 08:51:01 -07:00
Mattias Eriksson
e322fc86f7 Fix some pane focus and find related issues
* If a context_page was shown, the focus for the panes didn't work.
  By clicking all panes you could get input in all of them as long as
  the context_page prevented focus updated.
* Find was drawn in all panes, with typed text being entered in all of
  them. Changed this to only show find in the focused pane.
* Also, when I was going find related stuff, I populate the find entry
  with selected text, and clear the find search value on close.
2024-02-02 08:50:41 -07:00
Jeremy Soller
4401a7dbef
Workaround for dead terminal event channel 2024-02-02 08:44:28 -07:00
Jeremy Soller
1ffb449bde
Capture theme content changes in addition to mode changes 2024-01-31 15:18:20 -07:00
Jeremy Soller
e73236fdac
Fix cached window background order 2024-01-31 15:11:42 -07:00
Jeremy Soller
d043f45b0f
Fix selection when using window background as terminal background 2024-01-31 15:05:21 -07:00
Jeremy Soller
c0d7fed185
Use window background for cosmic color schemes (#102) 2024-01-31 11:20:15 -07:00
Jeremy Soller
470437e55a
Set minimum size to 360x180 (#91) 2024-01-31 10:52:56 -07:00
Jeremy Soller
6ec3e499cb
Add new tab button next to window controls (#89) 2024-01-31 10:37:10 -07:00
Jeremy Soller
ff6ad163d6
Settings re-org 2024-01-31 10:29:35 -07:00
Jeremy Soller
2e691121d5
Update dependencies 2024-01-31 10:07:41 -07:00
Mattias Eriksson
e91bf807ec Improve SGR Scroll Wheel support 2024-01-31 09:33:18 -07:00
Mohammad AlSaleh
01b7b1c9d9 Add some common syntax themes
Add themes (or palette/scheme pairs as they're referred to elsewhere)
 commonly found and used in other terminals:

 * Tango Palette (Dark and Light themes)
 * XTerm Palette (Dark and Light themes)
 * Rxvt Palette (Dark and Light themes)
 * Solarized Palette (Dark and Light themes)
 * Linux Console Palette & Theme

Signed-off-by: Mohammad AlSaleh <CE.Mohammad.AlSaleh@gmail.com>
2024-01-31 06:36:55 -07:00
Mattias Eriksson
8d7d074933 Add support for Mouse Events 2024-01-31 06:34:55 -07:00
Matthew Fallah (マシュー・ファラー)
87bc923f0a Oops
forgot default zoom step
2024-01-30 12:53:13 -07:00
Matthew Fallah (マシュー・ファラー)
516451871f Added japanese translation
Started japanese translation
2024-01-30 12:53:13 -07:00
Jeremy Soller
a249d7d0e1
Set MSRV to 1.71 2024-01-29 09:47:06 -07:00
Mattias Eriksson
ff1ba5b12e Add Alt Backspace 2024-01-28 12:28:14 -07:00
Michael Aaron Murphy
7b5c128f55 fix: next tab button misalignment in split panes 2024-01-26 20:27:25 -07:00
Michael Aaron Murphy
39ac4ae05c fix: hoverable paginated tab buttons, and alignment fix 2024-01-26 15:48:13 -07:00
Michael Aaron Murphy
41e95fc188 feat: tab pagination and text overlap fix 2024-01-26 09:12:57 -07:00
Mohammad AlSaleh
cb26aedfa2 Disable window content container and set style on pane grid container
* Presumably, the TODO about window resizing interfering with scrolling
   is not applicable anymore with the existence of padding from the pane
   grid container. So, set `core.window.content_container` to false.

 * Pane grid container didn't follow the selected theme. So, set style
   on it to fix that.

Signed-off-by: Mohammad AlSaleh <CE.Mohammad.AlSaleh@gmail.com>
2024-01-25 13:54:40 -07:00
Mattias Eriksson
f378bb5fdd Add alt key control characters 2024-01-22 13:10:01 -07:00
Mattias Eriksson
67c5683131 Revert accidentally committed Cargo.toml change 2024-01-22 09:00:08 -07:00
Mattias Eriksson
c749a02df8 Add Focus Follows Mouse 2024-01-22 09:00:08 -07:00
Mohammad AlSaleh
d6946d40bd Fix tab skip rendering
Replace '\t' with a space in text buffers, as tab skip/stop is handled
 by `alacritty_terminal`.

 Also, sending a tab to the shaper causes issues, as fonts either have
 no tab codepoint, or worse, some do, with the glyph produced being
 anyone's guess. Some may render a tab to some random character like
 '0'.

 Fixes #73.

Signed-off-by: Mohammad AlSaleh <CE.Mohammad.AlSaleh@gmail.com>
2024-01-21 16:08:44 -07:00
Jeremy Soller
6d519018a0
Show shortcuts in context menu 2024-01-19 11:44:59 -07:00
Jeremy Soller
a2e0d527c4
Normalize case for pane shortcuts 2024-01-19 11:06:40 -07:00
Jeremy Soller
834a385235
Show bindings in menu, finish #26 2024-01-19 11:03:14 -07:00
Jeremy Soller
ff06e6105d
Simplify definition of key bindings 2024-01-19 10:45:35 -07:00
Jeremy Soller
2a020221fd
Update dependencies 2024-01-19 09:46:06 -07:00
Jeremy Soller
e41bdd5b7f Merge remote-tracking branch 'origin/master_jammy' into snaggen-split 2024-01-18 20:43:47 -07:00
Josh Megnauth
c2f06a975a Add shift as a modifier to the new tab shortcuts 2024-01-18 20:20:39 -07:00
Josh Megnauth
9dffe2543e Add keyboard shortcut ctrl+[1-9] to select tabs
`ctrl`+`N` is a common shortcut to switch to a specific tab. 1-8
switches to the exact tab or the last tab. `ctrl`+`9` always switches to
the last tab.
2024-01-18 20:20:39 -07:00
Josh Megnauth
f1d442dfea Add hot keys to cycle tabs forward or backward
Port of: https://github.com/pop-os/cosmic-files/pull/20
2024-01-18 20:20:39 -07:00
Josh Megnauth
1f7b17e4d1 Add hotkey ctrl-shift-w to close tabs. 2024-01-18 20:20:39 -07:00
Mattias Eriksson
2eadaf5914 Merge branch 'master_jammy' into split 2024-01-18 15:34:20 +01:00
Jeremy Soller
80b84633f9
Update dependencies 2024-01-18 07:00:28 -07:00
Mattias Eriksson
41e61a10b4 Correct comments 2024-01-18 10:15:46 +01:00
Mattias Eriksson
35dcdc686c Avoid doing duplicate focus 2024-01-18 10:15:16 +01:00
Mattias Eriksson
d9ae46598e Break out terminal creation to remove duplicate code 2024-01-18 10:14:32 +01:00
Mattias Eriksson
8fabf94f03 Remove debug output 2024-01-18 09:08:20 +01:00
Mattias Eriksson
71af9b7f9b Merge branch 'master_jammy' into split 2024-01-18 08:00:02 +01:00
Mohammad AlSaleh
f5cf7e0040 Set monospace width on text buffers
Make use of the addition to cosmic-text that allows matching
 the widths of fallback Monospace fonts to the default one.

Signed-off-by: Mohammad AlSaleh <CE.Mohammad.AlSaleh@gmail.com>
2024-01-17 17:40:30 -07:00
Carmina16
cea7dd0974 Add Interlingue translation 2024-01-17 17:39:55 -07:00
Jeremy Soller
d656254282
Update cosmic-text 2024-01-17 13:41:17 -07:00
Mattias Eriksson
580e3d3985 fmt 2024-01-17 19:03:39 +01:00