Comments (10)
Thanks for reporting
from kitty.
Please @cyd01 consider this enhancement!
Personally I use this combination of < CTRL > + < Mouse Wheel > to change the size with Chrome and Windows (for Icons in the desktop). So I found it very useful.
from kitty.
Hi @cyd01 ,
To integrate this functionality ( < CTRL > + < Mouse Wheel > equivalent to the Menu "Font Up"/"Font Down") you only need to insert at this point:
KiTTY/0.73_My_PuTTY/windows/window.c
Line 5491 in b2632ef
This code from https://github.com/FauxFaux/PuTTYTray/blob/9dc8d3a636082ba4dbb48de71e59c8e2b9a0e593/windows/window.c#L3879
// region tray-zoom
} else if (control_pressed) {
conf_get_fontspec(conf, CONF_font)->height +=
MBT_WHEEL_UP == b ? 1 : -1;
// short version of IDM_RECONF's reconfig:
term_size(term,
conf_get_int(conf, CONF_height),
conf_get_int(conf, CONF_width),
conf_get_int(conf, CONF_savelines));
reset_window(2);
// endregion
} else {
I hope you'll want to integrate it. It's quite simple and very powerful. π
Regards.
from kitty.
Get the very last beta build.
Excuse me in advance ... I did not make so many tests ... I'm about to fly for Christmas holidays.
See you next year.
from kitty.
Get the very last beta build.
Thank you for the trial! However, it doesn't work... because I don't finished to see the code:
- When using your patches, you need to call the function
ChangeFontSize()
from:
Line 4530 in 71d79d4
from kitty.
So the patch will be something like:
// region tray-zoom
} else if (control_pressed) {
ChangeFontSize(hwnd, MBT_WHEEL_UP == b ? 1 : -1);
// endregion
} else {
from kitty.
from kitty.
But it is not really beautiful. Font resizing is not so reactive, but I'll do it.
The current menu has this functionality: "Font UP" and "Font DOWN". It's already inside the KiTTY. So this is only another way to call it (more simple and fast, from my point of view).
Thank you for this very good project! π
from kitty.
Hi @cyd01 ,
This function works like a charm in the last version 0.73.1.5.
Thank you! π
Please, remember to close this issue as it's resolved.
Regards.
from kitty.
Thanks a lot for integrating this, @lars18th and @cyd01!
from kitty.
Related Issues (20)
- download executables mixed up?
- Feature: mDNS service discovery
- Issue with Multi Tab Putty HOT 1
- Make prompt for "Allow far2l clipboard sync?" optional.
- Different interface between Win10 and Win11 HOT 5
- [Feature request]Please provide an installer with silent options
- Can the autoreconnect feature be added to the command line parameters? HOT 3
- [Feature request] "New duplicated session..." with default Host Name
- Terrapin vulnerability mitigation HOT 2
- How do I change 16 sessions for displaying opened sessions horizontally to just 3 sessions ?
- Kageant: Cannot get rid of bogus "Couldn't load this key" popup HOT 1
- UTF-8 encoded `Windows Title` is not decoded properly HOT 3
- How to adjust the space between lines?
- Buffer Overflow Vulnerabilities in KiTTY Start Duplicated Session Hostname (CVE-2024-25003) & Username (CVE-2024-25004) Variables
- Command Injection Vulnerability in KiTTY Get Remote File Through SCP Input (CVE-2024-23749)
- Is this project dead? Search for alternatives HOT 14
- [HELP] Is there a way to store auto-login username and password PER SESSION / per IP adress? HOT 2
- DetachedCertificate supported in Putty but not in Kitty HOT 1
- I can't see the option 'Wam before OSC52 clipboard sync' on low resolution display?
- CVE-2024-31497: Secret Key Recovery of NIST P-521 Private Keys Through Biased ECDSA Nonces in PuTTY Client HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kitty.