chore: remove redundant words in comment

Signed-off-by: occupyhabit <wangmengjiao@outlook.com>
This commit is contained in:
occupyhabit authored and Wez Furlong committed 2024-12-04 07:49:30 -07:00
1 parent 4906789a6d
commit 72e723187c
3 files changed
+4 -4

No files matched your search

+2 -2
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
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
Windows itself doesn't pop up a console host for its logging output.
+1 -1
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 {
fn accept_mime(
&mut self,
+1 -1
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)
{
// 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
// have to keep these in the key state in order for ToUnicode
// to map the key correctly.