Comments (7)
{ key = 'q', mods = 'CTRL', action = act.Multiple { act.ScrollToBottom, act.SendKey { key = 'q', mods = 'CTRL' } } }
worked, thanks! :)
from wezterm.
This behavior is not specific to Ctrl-c, all keys will scroll to the end.
Try to set scroll_to_bottom_on_input = false
, although it won't scroll it will still send those keys but you won't see them
ref: https://wezfurlong.org/wezterm/config/lua/config/scroll_to_bottom_on_input.html
(note: with nu you can also do seq 1 100
to quickly write some output 🙃)
from wezterm.
Woah! But Ctrl+Shift+C doesn't do it. I guess it's special behavior of the shift key, then? I should look at the code for input processing.
Also, I didn't know nushell had seq
like Bash & Fish do. Thanks for the tip :D
Edit: looks like it works. Now all I'd like to do is get the scrolling behavior back, but for Ctrl+Q specifically. Maybe I can rig it up with some Lua?
from wezterm.
Yeah, I think using wezterm.action.ScrollToBottom
should do it?
Ref: https://wezfurlong.org/wezterm/config/lua/keyassignment/ScrollToBottom.html
from wezterm.
Oh, awesome! Is there a way of binding some code to a keybinding without intercepting the keybinding? When I do { key = 'q', mods = 'CTRL', action = act.ScrollToBottom },
it eats Ctrl+Q and the terminal stack can't respond to the keypress.
from wezterm.
Well the simplest solution here would be to use a act.Multiple
action, to call act.ScrollToBottom
then act.SendKey
with the key you want to send.
Check these additional docs:
- https://wezfurlong.org/wezterm/config/lua/keyassignment/Multiple.html
- https://wezfurlong.org/wezterm/config/lua/keyassignment/SendKey.html
from wezterm.
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
from wezterm.
Related Issues (20)
- Can't get German umlauts working with typical macOS keystrokes HOT 2
- dim effect from helix editor is showing bright in wezterm when combined with reversed colour effect HOT 2
- pick terminal profile on startup HOT 2
- Copr: Add openSUSE Leap 15.6 HOT 2
- when environment variable WEZTERM_CONFIG_FILE is specified, wezterm.config_dir is not part of modules search path HOT 3
- Indentation only on the last line in sixel graphics, kew music player using chafa.
- Title won't change with cd after setting it with set-tab-title HOT 1
- wezterm cannot handle symlink, makes duplicate icons when pinned on taskbar
- Terminal shows repeating emoji HOT 2
- Can't open wezterm under wayland HOT 6
- "No OpenGL" Crash on Raspberry Pi 5 (Debian 12; ARM64) HOT 9
- Add new event `gui-window-created`
- Can't ignore F20 key
- Multiplexing mentions using Unix sockets to connect into WSL, but does not mention WslDomain
- Wezterm freezes after being resized
- Virus found in Windows build HOT 10
- higher order function keys (F13-F24) don't work
- wezterm terminfo leads to corrupted buffer text when scrolling in zellij + neovim vertical split HOT 6
- On mac, default to OS-native keybinds HOT 2
- Doesn't ignore non-implemented ssh config sections
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 wezterm.