summaryrefslogtreecommitdiffstats
path: root/commands/magicvar.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2011-12-05 17:52:52 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2012-04-30 13:24:47 +0200
commitb2c48771cbb3f017c2972aa6a4c5e1a12cf6d836 (patch)
tree4fe47768d245edc6cd10cb3680afca8ba80a0867 /commands/magicvar.c
parent36893bf29a57f862103b8bfeca7d3eec501dc06b (diff)
downloadbarebox-b2c48771cbb3f017c2972aa6a4c5e1a12cf6d836.tar.gz
barebox-b2c48771cbb3f017c2972aa6a4c5e1a12cf6d836.tar.xz
edit: Add proper screen size handling
We used to have a quite slow algorithm to detect the screen size which was unused for long time. This patch changes this to first set the cursor to x=999, y=999 and the read back the actual cursor position. Since I am not confident that this works on all terminals this is only used when edit is called as 'sedit'. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/magicvar.c')
0 files changed, 0 insertions, 0 deletions