You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to start a session with a name that is too long, Zellij returns the following error message:
session name must be less than 0 characters
This message is confusing and incorrect. It happens when the session name causes the resulting socket path to exceed the maximum allowed length, but the displayed number of allowed characters ends up being zero.
if socket_path.as_os_str().len() >= ZELLIJ_SOCK_MAX_LENGTH {
// socket path must be less than 108 bytes
let available_length = ZELLIJ_SOCK_MAX_LENGTH
.saturating_sub(socket_path.as_os_str().len())
.saturating_sub(1);
return Err(format!(
"session name must be less than {} characters",
available_length
));
};
};
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
When trying to start a session with a name that is too long, Zellij returns the following error message:
session name must be less than 0 characters
This message is confusing and incorrect. It happens when the session name causes the resulting socket path to exceed the maximum allowed length, but the displayed number of allowed characters ends up being zero.
zellij/zellij-utils/src/cli.rs
Line 27 in 226f5dc
The text was updated successfully, but these errors were encountered: