1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-22 21:01:36 +03:00

chore: remove redundant words in comment

Signed-off-by: occupyhabit <wangmengjiao@outlook.com>
This commit is contained in:
occupyhabit 2024-12-03 11:14:47 +08:00 committed by Wez Furlong
parent 4906789a6d
commit 72e723187c
3 changed files with 4 additions and 4 deletions

View File

@ -11,9 +11,9 @@ wezterm is deployed with two major executables:
* `wezterm-gui` (or `wezterm-gui.exe` on Windows) - for spawning wezterm from a desktop environment * `wezterm-gui` (or `wezterm-gui.exe` on Windows) - for spawning wezterm from a desktop environment
You will typically use `wezterm` when scripting wezterm; it knows when to You will typically use `wezterm` when scripting wezterm; it knows when to
delegate to to `wezterm-gui` under the covers. delegate to `wezterm-gui` under the covers.
If you are are setting up a launcher for wezterm to run in the Windows GUI If you are setting up a launcher for wezterm to run in the Windows GUI
environment then you will want to explicitly target `wezterm-gui` so that environment then you will want to explicitly target `wezterm-gui` so that
Windows itself doesn't pop up a console host for its logging output. Windows itself doesn't pop up a console host for its logging output.

View File

@ -165,7 +165,7 @@ impl DataOfferHandler for WaylandState {
} }
} }
// We seem to to ignore all events other than sending_request and cancelled // We seem to ignore all events other than sending_request and cancelled
impl DataSourceHandler for WaylandState { impl DataSourceHandler for WaylandState {
fn accept_mime( fn accept_mime(
&mut self, &mut self,

View File

@ -2565,7 +2565,7 @@ unsafe fn key(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> Option<L
&& (keys[VK_CONTROL as usize] & 0x80 != 0) && (keys[VK_CONTROL as usize] & 0x80 != 0)
{ {
// AltGr is pressed; while AltGr is on the RHS of the keyboard // AltGr is pressed; while AltGr is on the RHS of the keyboard
// is is not the same thing as right-alt. // is not the same thing as right-alt.
// Windows sets RMENU and CONTROL to indicate AltGr and we // Windows sets RMENU and CONTROL to indicate AltGr and we
// have to keep these in the key state in order for ToUnicode // have to keep these in the key state in order for ToUnicode
// to map the key correctly. // to map the key correctly.