New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SR-13029] REPL doesn't show colon characters #55474
Comments
Comment by Steven Van Impe (JIRA) This may be part of a larger issue because the behavior of the REPL changes as soon as this happens. It's as if it changes from insert mode to overwrite mode... |
Comment by Steven Van Impe (JIRA) This still occurs on 5.3. Again, I consider this a very important bug because it confuses every single student who doesn't have an instructor nearby to tell them it's just a bug. |
Comment by Elliott Williams (JIRA) I haven't dug into this much, but I can't reproduce your example on the swift:5.3 docker image (which is ubuntu 18.04 iirc): $ docker run --security-opt seccomp=unconfined -it swift swift
Welcome to Swift version 5.3 (swift-5.3-RELEASE).
Type :help for assistance.
1> var x: Int
2. var y: Int Missing characters in an readline environment sounds like a tty/shell problem. Are you confident this isn't a problem with your shell, a pseudoterminal emulator like tmux, or your terminal app? |
Comment by Steven Van Impe (JIRA) emw (JIRA User) I verified this again using the default Terminal app on Ubuntu 20.04 and Fedora 32 with Swift 5.3. I'm using clean vanilla installs here, I didn't change the terminal settings in any way. The issue may be specific to these terminals/shells (I have no idea) but that doesn't make it any less significant. To an end user, the perception is that the REPL doesn't work, no matter what the underlying cause is. The issue is also larger than the colon character not showing up. As soon as you execute a line that contains a colon, the behavior of the REPL changes. For example, the backspace key no longer deletes characters. |
Comment by Steven Van Impe (JIRA) Another user reported this issue as well. It appears that using backspace on all but the first command also triggers this issue. |
Comment by Steven Van Impe (JIRA) This issue still exists with Ubuntu 21.04 and Swift 5.4.2. |
Duplicate of https://bugs.swift.org/browse/SR-15369 |
Additional Detail from JIRA
md5: c40c0171d84905e9b227405af99a2319
Issue Description:
Try the following with Swift 5.2.4 on Ubuntu 20.04:
The second colon doesn't show for me. It's there, it's just not rendered.
This issue exists with other colons as well and it's really confusing, especially when using the REPL for teaching purposes.
The text was updated successfully, but these errors were encountered: