Commit Graph

2282 Commits

Author SHA1 Message Date
Boris Faure f7d509a95f
termpty: add some debug 2021-01-07 22:31:59 +01:00
Boris Faure cfdab5a2af
termpty: avoid ERR on exit of shell when keeping screen opened 2021-01-07 22:23:15 +01:00
Boris Faure 759eeb8168
tests: only sleep within testing ui 2020-12-25 11:49:08 +01:00
Carsten Haitzler 503c69e0f7 fix rogue focus overlay that auto-mode adds where terminology does it
terminology handles showing rfocus display inside the elm layout so
even if the layout is focusable, it shouldnt SHOW it, but we want to
show it when the controls popup is open so toggle it then
2020-12-12 12:06:59 +00:00
Boris Faure f8ec17801a
win: be a bit hardcore on focus 2020-12-09 23:08:34 +01:00
Boris Faure 083784b375
options_font: focus the filter entry 2020-12-09 23:07:30 +01:00
Marcel Hollerbach 4530839249
controls: always focus new button
if the terminal is unfocused, the layout is not allowed to get focus anymore.
This way we ensure that cases where we have multiple ui elements overlapping cause problems.
2020-12-09 22:15:42 +01:00
Boris Faure c03b2b78e6
win: remove unused variable 2020-12-07 22:32:25 +01:00
Boris Faure 9330420c3c
focus: try to do a bit less 2020-12-07 22:30:35 +01:00
Carsten Haitzler 73a538433e tyls - allow ls *.png or *.jpg and so on to work as you expect 2020-12-06 16:35:55 +00:00
Boris Faure a617e9043b
termio: set scale only when font/size is set
Should avoid error messages like
ERR<16582>:eina_safety ../src/lib/evas/canvas/evas_object_textgrid.c:1202
_evas_textgrid_efl_text_font_font_family_set() safety check failed:
(!font_name) || (!*font_name) is true
ERR<16582>:eina_safety ../src/lib/evas/canvas/evas_object_textgrid.c:1238
_evas_textgrid_efl_text_font_font_size_set() safety check failed:
font_size <= 0 is true
2020-12-05 16:14:18 +01:00
Boris Faure 44952d9ac8
sel: cleanup 2020-12-05 16:09:10 +01:00
Boris Faure d483af6b88
options_font: make font search a bit more reliable 2020-12-01 21:44:43 +01:00
Boris Faure e21c07d114
options_font: the long awaited font search! 2020-12-01 21:10:06 +01:00
Boris Faure 070fa1defb
options: add note on colorschemes about current theme and vice-versa 2020-11-29 15:52:58 +01:00
Boris Faure 1fe87a4b2c
termio/win: use Elementary_Cursor.h 2020-11-29 15:27:34 +01:00
Boris Faure 84905e62e9
options_themepv: do not use terminology/background for color scheme preview
use a dedicated group, lighter
2020-11-28 16:55:20 +01:00
Boris Faure d8294d3cfa
options_themepv: clean things up 2020-11-28 13:08:25 +01:00
Boris Faure 71f54ad7d6
theme: ensure group exists in file before using it 2020-11-26 22:50:37 +01:00
Boris Faure 0e4ea771cc
tyls: do not force extension 2020-11-25 22:04:52 +01:00
Boris Faure 7f3bfab6d6
options_themepv: ease CPU usage, do not blink the cursor 2020-11-25 21:45:06 +01:00
Carsten Haitzler d9a5832bd6 font sizing - listen to elm config change events and re-apply font size
re-applying font size (setting it) will take int account any new scale
value that may be set. this allows elementary_config or any config
tool that is updating config to change scaling and terminology
properly adapts. elementary itself for all widgets already takes care
of its own gui elements, but since the terminal grid is a custom thing
for terminology - it is responsible for doing this itself. now it
does.

@feat
2020-11-24 09:18:52 +00:00
Boris Faure a416458ca9
options_theme: ensure the selected theme is the right one
was not the case when explicitly setting them from command line
2020-11-22 20:42:58 +01:00
Boris Faure 2669cc5780
colors: list user-stored color schemes 2020-11-22 19:40:58 +01:00
Boris Faure 43d1a681df
themes: use HIGHLIGHT instead of SHINE color class 2020-11-18 00:13:13 +01:00
Boris Faure 7469037003
themes: use only HIGHLIGHT
instead of CURSOR_HIGHLIGHT and GLOW_HIGHLIGHT
2020-11-17 23:20:15 +01:00
Carsten Haitzler d9e63b3d3d color schemes - dont crash when duplication a NULL scheme - use default 2020-11-16 19:46:47 +00:00
Boris Faure 292215d770
vin: remove unused variable 2020-11-16 13:08:56 +01:00
Boris Faure 7a16744778
tytest: makes more sense (to me) to check len 2020-11-15 20:19:21 +01:00
Boris Faure 9a5f13b12b
colors: no longer set all those "c%d" color classes
just use color schemes
2020-11-15 20:18:37 +01:00
Boris Faure a29e7a718a
termptyesc: _handle_xterm_set_color_class() gets obj==NULL in tests
+ simplify _handle_xterm_10_command()
2020-11-15 20:10:43 +01:00
Boris Faure 05b95705ae
termptyesc: export termptyesc_safechar() 2020-11-15 13:48:20 +01:00
Boris Faure 76687b2ea2
tytest: those functions must return Eina_Bool 2020-11-15 13:42:25 +01:00
Boris Faure 7881e66b98
color class: ensure operations work 2020-11-15 12:27:40 +01:00
Boris Faure 11abaaa0b4
termio/termptyesc: clean up mess with color classes 2020-11-15 00:15:10 +01:00
Boris Faure 5b186b69a3
colors: show error in case applying NULL color scheme 2020-11-15 00:13:25 +01:00
Boris Faure f0404cd5fd
termptyesc: handle xterm 12 to change cursor color 2020-11-14 23:32:41 +01:00
Boris Faure 049af922e2
termio: remove useless variable 2020-11-14 22:47:07 +01:00
Boris Faure 38e72737ca
main: reorganize options 2020-11-14 22:32:22 +01:00
Boris Faure 5b3cd9149c
config: ensure config->colorscheme is set. Closes T8855 2020-11-14 22:16:35 +01:00
Boris Faure c2cd0035e4
test malloc/calloc's return. Fix CID1436182 2020-11-11 23:08:22 +01:00
Boris Faure 7465f46a9f
utils: add open_url() to avoid code duplication 2020-11-11 22:51:51 +01:00
Boris Faure 6122b12e4f
options_colors: add ctx popup to go to color scheme's website 2020-11-11 21:27:44 +01:00
Boris Faure aa63957dfc
options_colors: add tooltip on color scheme preview 2020-11-11 21:27:44 +01:00
Boris Faure e96347d153
colors: there are 4 color sets… 2020-11-11 19:01:06 +01:00
Boris Faure 5e3c8bfd83
config: upgrade to set color schemes 2020-11-10 00:04:27 +01:00
Boris Faure 0a85423759
main: add --colorscheme 2020-11-09 22:26:23 +01:00
Boris Faure 7bb1639260
options_colors: be able to select color scheme 2020-11-04 23:17:32 +01:00
Boris Faure 17246e5d84
config: add color_scheme
TODO: set it from current theme
2020-11-04 23:14:33 +01:00
Boris Faure 005806470a
colors: add color_scheme_dup() 2020-11-04 23:13:43 +01:00