aboutsummaryrefslogtreecommitdiffstats
path: root/vimput.pl
AgeCommit message (Collapse)Author
2017-12-15Make `$VERSION` and `%IRSSI` `our` variablesTeddy Wing
Learned about the Perl `our` keyword from https://github.com/shabble/irssi-docs/wiki/Guide#preamble which recommends using it. This allows us to eliminate the `use vars` line. Neat.
2017-12-15Print current input contentsTeddy Wing
Yes! Managed to read the current input line contents. Print this out on every key press. Thanks to these resources: Key press signal: https://github.com/shabble/irssi-docs/wiki/Signals#gui-readlinec Getting input line contents: https://github.com/shabble/irssi-docs/wiki/Irssi#getting-the-input-field-contents https://github.com/irssi/scripts.irssi.org/blob/master/scripts/per_window_prompt.pl