Fix typos

This commit is contained in:
Luflosi 2020-06-23 16:18:02 +02:00
parent 36a20f7b00
commit 2b884377d4
No known key found for this signature in database
GPG Key ID: 4E41E29EDCC345D0
8 changed files with 8 additions and 8 deletions

View File

@ -23,7 +23,7 @@ A clear and concise description of what you expected to happen.
**Screenshots** **Screenshots**
If applicable, add screenshots to help explain your problem. If applicable, add screenshots to help explain your problem.
**Enviroment details** **Environment details**
OS: Name and version of operating system(s) OS: Name and version of operating system(s)
``` ```

View File

@ -222,7 +222,7 @@ Here ``!`` is not valid base64 encoded text, so it clears the clipboard.
Further, since it is invalid, it should be ignored by terminal emulators Further, since it is invalid, it should be ignored by terminal emulators
that do not support this extension, thereby making it safe to use, simply that do not support this extension, thereby making it safe to use, simply
always send it before starting a new OSC 52 paste, even if you aren't chunking always send it before starting a new OSC 52 paste, even if you aren't chunking
up large pastes, that way kitty wont concatenate your paste, and it will have up large pastes, that way kitty won't concatenate your paste, and it will have
no ill-effects in other terminal emulators. no ill-effects in other terminal emulators.
In case you're using software that can't be easily adapted to this In case you're using software that can't be easily adapted to this

2
glfw/glfw3.h vendored
View File

@ -831,7 +831,7 @@ extern "C" {
* @analysis Application programmer error. Fix the offending call. * @analysis Application programmer error. Fix the offending call.
*/ */
#define GLFW_NO_WINDOW_CONTEXT 0x0001000A #define GLFW_NO_WINDOW_CONTEXT 0x0001000A
/*! @brief The reuqested feature is not provided by the platform. /*! @brief The requested feature is not provided by the platform.
* *
* The requested feature is not provided by the platform, so GLFW is unable to * The requested feature is not provided by the platform, so GLFW is unable to
* implement it. The documentation for each function notes if it could emit * implement it. The documentation for each function notes if it could emit

2
glfw/x11_monitor.c vendored
View File

@ -169,7 +169,7 @@ void _glfwPollMonitorsX11(void)
if (widthMM <= 0 || heightMM <= 0) if (widthMM <= 0 || heightMM <= 0)
{ {
// HACK: If RandR does not provide a physical size, assume the // HACK: If RandR does not provide a physical size, assume the
// X11 default 96 DPI and calcuate from the CRTC viewport // X11 default 96 DPI and calculate from the CRTC viewport
// NOTE: These members are affected by rotation, unlike the mode // NOTE: These members are affected by rotation, unlike the mode
// info and output info members // info and output info members
widthMM = (int) (ci->width * 25.4f / 96.f); widthMM = (int) (ci->width * 25.4f / 96.f);

View File

@ -341,7 +341,7 @@ def request_from_clipboard(use_primary: bool = False) -> str:
return '\x1b]52;{};?\x07'.format('p' if use_primary else 'c') return '\x1b]52;{};?\x07'.format('p' if use_primary else 'c')
# Boilerplate to make operations availble via Handler.cmd {{{ # Boilerplate to make operations available via Handler.cmd {{{
def writer(handler: HandlerType, func: Callable) -> Callable: def writer(handler: HandlerType, func: Callable) -> Callable:

View File

@ -786,7 +786,7 @@ o('confirm_os_window_close', 0, option_type=positive_int, long_text=_('''
Ask for confirmation when closing an OS window that has at least this Ask for confirmation when closing an OS window that has at least this
number of kitty windows in it. A value of zero disables confirmation. number of kitty windows in it. A value of zero disables confirmation.
This confirmation also applies to requests to quit the entire application (all This confirmation also applies to requests to quit the entire application (all
OS windows, via the quite action). OS windows, via the quit action).
''')) '''))
# }}} # }}}

2
kitty/glfw-wrapper.h generated
View File

@ -569,7 +569,7 @@
* @analysis Application programmer error. Fix the offending call. * @analysis Application programmer error. Fix the offending call.
*/ */
#define GLFW_NO_WINDOW_CONTEXT 0x0001000A #define GLFW_NO_WINDOW_CONTEXT 0x0001000A
/*! @brief The reuqested feature is not provided by the platform. /*! @brief The requested feature is not provided by the platform.
* *
* The requested feature is not provided by the platform, so GLFW is unable to * The requested feature is not provided by the platform, so GLFW is unable to
* implement it. The documentation for each function notes if it could emit * implement it. The documentation for each function notes if it could emit

View File

@ -589,7 +589,7 @@ create_os_window(PyObject UNUSED *self, PyObject *args) {
#endif #endif
if (!global_state.is_wayland) { if (!global_state.is_wayland) {
// On Wayland windows dont get a content scale until they receive an enterEvent anyway // On Wayland windows dont get a content scale until they receive an enterEvent anyway
// which wont happen until the event loop ticks, so using a temp window is useless. // which won't happen until the event loop ticks, so using a temp window is useless.
temp_window = glfwCreateWindow(640, 480, "temp", NULL, common_context); temp_window = glfwCreateWindow(640, 480, "temp", NULL, common_context);
if (temp_window == NULL) { fatal("Failed to create GLFW temp window! This usually happens because of old/broken OpenGL drivers. kitty requires working OpenGL 3.3 drivers."); } if (temp_window == NULL) { fatal("Failed to create GLFW temp window! This usually happens because of old/broken OpenGL drivers. kitty requires working OpenGL 3.3 drivers."); }
} }