Capture font size when gesture begins and correctly
update scale based off that until gesture ends.
Test plan:
1) hold Ctrl and scroll the mouse wheel in then out
in a single motion
2) notice zooming continues in initial direction
and accelerates towards the min or max
With patch it will adjust more smoothly and also
match the current zoom of the gesture.
@fix
Summary: Adding option to disable cd to current tab dir.
Test Plan:
1. Start unpatched version of Terminology.
2. Change some Behaviour options.
3. Close unpatched version of Terminology.
4. Start patched version of Terminology.
5. cd /usr/bin
6. Open new tab and verify that previous behaviour persists, new tab working directory is /usr/bin
7. Go to Settings Behaviour and uncheck "Start in the same directory..." checkbox.
8. Optn new tab and verify that new tab working directory is ~ (or any other directory from which the Terminology was launched).
9. Restart Terminology.
10. Go to Settings Behaviour and verify that options persisted.
Reviewers: #terminology, billiob
Subscribers: godfath3r, #terminology
Projects: #terminology
Differential Revision: https://phab.enlightenment.org/D3495
Summary:
KP_Home and KP_End were ignored, skipped because _handle_key_to_pty only checked for Kk keys.
It does not look like that was a typo, so handling for both Kk and KP now in place.
Test Plan:
1. start terminology
2. type 'echo "the quick brown fox jumps over the lazy dog"'
3. press keypad Home key
4. on unpatched terminology nothing happens
5. on patched terminology the behaviour is identical to normal Home
Reviewers: billiob, #terminology, godfath3r
Reviewed By: #terminology, godfath3r
Subscribers: #terminology, godfath3r, billiob
Differential Revision: https://phab.enlightenment.org/D3496
in many cases this will be the value which has been set, so ignoring it
will yield moderate performance improvements
Reviewed-by: Boris Faure <billiob@gmail.com>
if (len <= 0)
in _cb_fd_read() is ALWAYS coming up with len < 0 for me and that'd
be LOGICAL... eg if read() returns an error (something ok to allow us
to continue) and so my terminal content NEVER appears - because
terminology is returning false from the fb handler asking it to be
deleted. this is wrong so put it inside #ifdef of fuzzing so it
doesn't affect "normal people". i still think it is broken tho... but
at least i have my terminal back now.