Commit Graph

74 Commits

Author SHA1 Message Date
Boris Faure 0901c85da4
termio: add termio_is_focused() 2021-11-02 23:26:40 +01:00
Boris Faure 11abaaa0b4
termio/termptyesc: clean up mess with color classes 2020-11-15 00:15:10 +01:00
Boris Faure f0404cd5fd
termptyesc: handle xterm 12 to change cursor color 2020-11-14 23:32:41 +01:00
Boris Faure b77a2c3c95
termio: add termio_character_size_get() 2020-11-03 23:06:47 +01:00
Boris Faure 19fb6afd73
mv src/bin/col.{c,h} src/bin/colors.{c,h} 2020-08-20 16:21:51 +02:00
Boris Faure 196973fcd3
rewrite changing of background/foreground colors from escape codes 2020-06-22 23:41:27 +02:00
Boris Faure abdef9786c
have define BINARY_TYFUZZ/BINARY_TYTEST 2020-05-24 18:05:39 +02:00
Boris Faure d5d61a5b76
termio: hide links when content change underneath 2020-04-16 23:43:21 +02:00
Boris Faure cf060d2a04 focus: block focus manager from getting key inputs when they are consumed 2019-06-18 22:06:44 +02:00
Boris Faure 43c6777e57 termiointernals: add termio_internal_render()
used to test selection invalidation later on
2019-02-09 23:48:15 +01:00
Boris Faure 4e38d0d2c7 termio: simplify code by passing sd instead of obj
Stub function to get Termio from Evas_Object
2019-02-06 23:19:29 +01:00
Boris Faure 2f432dcd33 tyfuzz: stub functions from termio 2019-02-06 23:19:29 +01:00
Boris Faure e6886bcaee move some code to termiointernals to be able to test it 2019-02-06 23:19:29 +01:00
Boris Faure 5303f9eb28 termio: use ty_sb to deal with selections 2019-02-06 23:19:29 +01:00
Boris Faure 2e34b8e962 add configuration on whether to activate links
- on email
- on file paths
- on URLs
- from escape codes (called hyper links in the code)

Closes T6339
2019-01-21 22:11:22 +01:00
Boris Faure 7c6d581465 Bring back the user title per tab
Summary: T6719

Reviewers: billiob

Reviewed By: billiob

Differential Revision: https://phab.enlightenment.org/D5852
2018-04-22 17:27:14 +02:00
Boris Faure 740e96da66 handle DECSCUSR (changing cursor shape). Closes T6338 2018-03-15 19:20:09 +01:00
Boris Faure 3aac7976b7 termio: fix key bindings for scrolling 2018-02-12 22:03:02 +01:00
Boris Faure d7432a52d6 move input handling to win.c 2018-02-05 00:07:47 +01:00
Boris Faure 39fb41024b early work on multi-input support 2018-01-05 00:27:25 +01:00
Carsten Haitzler 125d475068 add tysend cmdline and support in escapes for sending single files
this allows you to send a file via escapes to terminology which will
pop up a file save dialog and ask what to save it as and where (based
on the original name). terminology will show a progress bar too. this
is not useful locally but remotely (e.g. you ssh'd into another
machine) it's a VERY handy way of fetching a file from the remote
machine to the local machine with a display just with tysend FILE. you
can send multiple in a sequence with tysend FILE1 FILE2 FILE3 ... ...
and terminology will ask for a location and filename per file you send
(just hit cancel if you don't want to do it).

note - it needs new theme features to work. it'll fail without them.

@feature
2017-12-17 23:41:26 +09:00
Boris Faure 496a5f178e have only one concept of title. Ref T5704 2017-08-28 21:41:21 +02:00
Boris Faure 38da9b2ded correctly handle -T option. Ref T5704 2017-08-28 21:41:10 +02:00
Boris Faure e7b3265662 font: update all terms to this window when changing font (size)
Closes T5012
Closes T5445
2017-07-14 22:10:54 +02:00
Boris Faure 6f1a2dd452 constify 2017-07-06 21:37:56 +02:00
Boris Faure b7817a88b3 keys: add Shift+Home to get to the top of the backlog. Closes T3582 2016-05-31 21:34:44 +02:00
José Roberto de Souza ae7e96633a Allow user to set the title of the each tab 2016-03-04 11:34:24 -03:00
Boris Faure 4367b4ceb6 fix selections (again and again) of single-char words 2016-01-27 21:08:45 +01:00
Boris Faure 1ad8055d28 remove useless termio_theme_get() 2015-06-11 22:29:53 +02:00
Boris Faure 688bf414e4 right trim selections
Also add a (near-dumb) string buffer abstraction because working with
Eina_Strbuf, an opaque structure is a PITA.
2015-03-08 20:22:44 +01:00
Boris Faure e562bcb7e2 refactor main.c to win.c 2014-11-29 22:05:18 +01:00
Boris Faure 1ef2fbb8a3 refactor keys handling in termio: move to keyin, 2nd round! 2014-08-22 21:54:04 +02:00
Carsten Haitzler 117d9e7840 Revert "refactor keys handling in termio: move to keyin"
this breaks emacs and jed totally - ctrl+space to do selection blocks
is gone! :(

This reverts commit 9215f941e9.
2014-08-22 14:12:04 +09:00
Boris Faure 9215f941e9 refactor keys handling in termio: move to keyin 2014-08-21 23:29:53 +02:00
Wonguk Jeong bce172cc87 media: audio visualization support (phase 1)
support audio visualization for typop, tycat
This is just first phase with hard coded type (EMOTION_VIS_LIBVISUAL_INFINITE)

TODO:
1. configurable visualizing type in option
2. hide visualizing option if it is not supported.
   (it's currently supported with "gstreamer" engine)
2014-08-21 20:32:58 +02:00
Boris Faure 901807fc09 also remove debugwhite 2014-08-19 22:48:00 +02:00
Boris Faure 19734613d1 get rid of mirror stuff, it is not used 2014-08-19 21:45:27 +02:00
Wonguk Jeong 7efef95b14 termio: audio mute for activate media block support
activate media block was not affected by audio muted setting.

testplan:
1. tycat media file
2. option->video->Audio muted
3. check whether the media block is muted/unmuted properly
2014-07-29 04:00:51 +02:00
Wonguk Jeong ace0b53a34 termio: remove duplicated function prototype 2014-07-29 03:50:09 +02:00
Boris Faure d72a0cbec3 miniview: close from edj 2014-05-13 23:09:59 +02:00
Boris Faure 73930a6712 miniview: have only one buffer 2014-05-13 22:23:34 +02:00
Boris Faure e5c8da2cbd miniview: correctly handle resizing 2014-05-13 22:23:34 +02:00
Boris Faure d4ce1166c6 miniview: use an image ftm 2014-05-13 22:23:33 +02:00
Boris Faure b8cd00dadd add termio_pty_get() 2014-05-13 22:23:33 +02:00
Boris Faure 23d3944b76 miniview: cleanup 2014-05-13 22:23:33 +02:00
Godfath3r a5bb346937 add miniview feature to terminology.
Pressing ctrl+shift+f toggles miniview on the side of each terminal/split/tab
2014-05-13 22:23:33 +02:00
Boris Faure 509a5d1a7b fix scrolling with selection on irssi in tmux. Closes T404 2013-11-18 22:30:26 +01:00
Boris Faure 8c7dab9fdf remove selection when content selected changes 2013-11-11 18:08:02 +01:00
Boris Faure bc15fc6ff6 keep selection when scrolling 2013-11-10 22:13:19 +01:00
Gustavo Sverzut Barbieri 6562cdabc2 termio: allow monitoring if selection exists.
Export new termio_selection_exists() and two signals: "selection,on"
and "selection,off". These will be used to control the state of the
"copy" button and menus (when those exist).
2013-11-01 16:43:30 -02:00