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
{{ message }}
This repository has been archived by the owner on Apr 12, 2021. It is now read-only.
Hi,
Thanks for the response. Plese, see the following piece of code:
pressed := klg.GetKey()
if !pressed.Empty {
klgFile.WriteString(string(pressed.Rune))
}
I am not skipping the key. How Can I detect that the ENTER key was pressed?
The piece of code abode do not add new lines automatically... so I have to
find a way of adding new lines when the ENTER key is pressed.
Thanks,
--
Atenciosamente,
Alan M C Lacerda
--
*OSCP, DCPT, LPIC-1, LPIC-201, CCNA*
*Pentester | Consultor de Segurança da Informação*
*LinkedIn:* https://br.linkedin.com/in/alancordeiro
*--*
*The nice thing about standards is that there are so many to choose from.
And if you really don't like all the standards you just have to wait
another year until the one arises you are looking for. -- A. Tanenbaum,
"Introduction to Computer Networks"*
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Is is possible to add a new line "\n" when the ENTER key is pressed?
The text was updated successfully, but these errors were encountered: