Boris Faure
0eb8948d67
tycommon: add ty_write() to handle EINTR/EAGAIN on write()
3 years ago
Boris Faure
a782ce61e2
test return of ty_sb_add(). Closes CID1408482
3 years ago
Boris Faure
b76bbbe455
termpty: better handle writes
...
- Use the event loop
- Check for EINTR/EAGAIN
This fixes pasting large amount of data.
Closes T4712
3 years ago
Boris Faure
e1f3a4d486
sb: when skipping buffer on the left and the buffer is empty, remove gap
3 years ago
Boris Faure
6bfd508a58
tyfuzz: instead of writing to /dev/null, just do not write
3 years ago
Boris Faure
99d8436f5a
termpty: retry read() on EINTR
3 years ago
Boris Faure
dcf31cf140
main: do not set config as temporary by default
3 years ago
Boris Faure
2a02a03625
config: add error message if config is from a new Terminology
...
Also mark it as temporary
3 years ago
Boris Faure
b327ff2f19
config: add error messages when saving config
3 years ago
Boris Faure
02f4173387
build: detect whether there is strchrnul
...
This should help compiling on macosx
3 years ago
Boris Faure
998f25ba77
termio: only the TEXT case shouldn't happen in that switch-case
3 years ago
Boris Faure
e197c04f65
termiointernals: be able to select tabs + test
3 years ago
Boris Faure
e1ff4d877e
termptyesc: store when tab are inserted and where they stop
3 years ago
Boris Faure
7dcb9e4e43
termio_selection_get(): simplify by using macros
3 years ago
Boris Faure
7634b61283
termio: allow \t to be pasted
3 years ago
Boris Faure
1195c022f3
default.edc: move tab selector on the tab line
3 years ago
Boris Faure
c130c6f683
main: change prototype for main_new()
3 years ago
Boris Faure
0f5e928e37
Revert "wip"
...
This reverts commit fc865e97b0
.
3 years ago
Boris Faure
fc865e97b0
wip
3 years ago
Boris Faure
9b23e02b4e
win: clean up tabs list asap
3 years ago
Boris Faure
9ce403d29b
media: remove useless condition
3 years ago
Boris Faure
71ee21af32
main: only one place to configure a running instance
3 years ago
Boris Faure
984d7e07c6
ipc: set theme on new instance
3 years ago
Boris Faure
98787cfc2d
main: unsetenv("DESKTOP_STARTUP_ID") when it won't ever be used again
...
Also remove one as it might be used by apps
3 years ago
Boris Faure
e9b2d22ff7
main: putenv() can't use stack mem as it might become part of env
...
and use later.
Avoid stack-use-after-scope.
3 years ago
Boris Faure
5e5ac579b5
win: cleanup windows_free()
3 years ago
Boris Faure
cd84ce0a34
main: fix execv() usage
3 years ago
Boris Faure
3e40f46f9b
Revert "Revert "main: better handle stalled unix socket used to spawn multiple instances""
...
This reverts commit e716ad5812
.
3 years ago
Boris Faure
fd2212afd8
options_font: fix use after free
3 years ago
Boris Faure
96095b5b9d
win: remove hide_cursor_timer when closing a window
...
@fix
3 years ago
Boris Faure
e716ad5812
Revert "main: better handle stalled unix socket used to spawn multiple instances"
...
This is not stable enough.
This reverts commit fb2c8deb74
.
3 years ago
Boris Faure
fb2c8deb74
main: better handle stalled unix socket used to spawn multiple instances
...
Have a 2-seconds waiter and if we couldn't create a new instance, unlink
the unix socket and restart Terminology.
3 years ago
Boris Faure
a9ec48191d
win: clean up popmedia code. Closes T8330
...
Mainly add _popmedia_now() that flushes down the queue then add an
element. This is no longer the job of _popmedia_show().
Also add _popmedia_queue_free().
3 years ago
Boris Faure
4b24157e2b
typop: with many args, pop first then queue the others
3 years ago
Boris Faure
80124a72ca
win: no longer segfaults from typop with multiple files
3 years ago
Boris Faure
6b8e6f0516
win: reorganize code to have popup media fold
3 years ago
Boris Faure
424ddba2c8
splits: show missed bells when a title tab is shown
4 years ago
Boris Faure
a32b9cee88
tabs: show tabs that have a bell
4 years ago
Boris Faure
fe63070139
options_behavior: disable "hide cursor"'s slider when needed
4 years ago
Boris Faure
9a2ddd8468
win: update terms on change of config about show_tabs
4 years ago
Boris Faure
dc1ddf7e40
config: turn "notabs" into "show_tabs"
4 years ago
Boris Faure
5996e5eb2c
win: show title tab on splits when config is set accordingly
4 years ago
Boris Faure
61bb7955da
sel: selector was not taking into account the new destination
4 years ago
Boris Faure
c11f7e4c19
termptyesc: restrict DSR-DECCKSR argument to 16bit (unsigned)
4 years ago
Boris Faure
dbf92b1346
termptyesc: use correct format specifier for int
4 years ago
Boris Faure
e235cb00a3
termiolink: fix link detection over spaces
4 years ago
Boris Faure
02a418b290
termptyext: add tests on link detection
4 years ago
Boris Faure
2c5bab7b8d
termptyext: get rid of "unused" warnings
...
+ abort on unknown test escape code
4 years ago
Boris Faure
259722a3f3
move link_is_* to termiolink.c
4 years ago
Boris Faure
7bfef215b0
termptyext: remove 'a' example
...
Because we have plenty of other examples in the file
4 years ago