added alt as meta setting
This commit is contained in:
parent
7c6769b392
commit
9c42b92663
4 changed files with 79 additions and 34 deletions
|
@ -775,7 +775,15 @@ impl Element for TerminalElement {
|
|||
self.terminal
|
||||
.upgrade(cx.app)
|
||||
.map(|model_handle| {
|
||||
model_handle.update(cx.app, |term, _| term.try_keystroke(keystroke))
|
||||
model_handle.update(cx.app, |term, cx| {
|
||||
term.try_keystroke(
|
||||
keystroke,
|
||||
cx.global::<Settings>()
|
||||
.terminal_overrides
|
||||
.option_as_meta
|
||||
.unwrap_or(false),
|
||||
)
|
||||
})
|
||||
})
|
||||
.unwrap_or(false)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue