commit | 55d8c01c339db6dd66ed85ce3da5273632da6ca5 | [log] [download] |
---|---|---|
author | Nicholas Marriott <nicm@openbsd.org> | Sun Jul 26 21:13:47 2009 +0000 |
committer | Nicholas Marriott <nicm@openbsd.org> | Sun Jul 26 21:13:47 2009 +0000 |
tree | b8d02cbddb422ffcf1649751ef1f24fe9261ae14 | |
parent | 6b3b852ebcaa61d3a03b918370939cfd6af8c191 [diff] |
Calculate the space available for the prompt buffer and the cursor position correctly, and make it work when the screen is not wide enough. Noticed by Kalle Olavi Niemitalo.