diff options
author | Boris Faure <billiob@gmail.com> | 2017-07-27 23:27:23 +0200 |
---|---|---|
committer | Boris Faure <billiob@gmail.com> | 2017-07-27 23:27:23 +0200 |
commit | 3a28d9964970122cfe0dd7fc671ce68bb8026911 (patch) | |
tree | 87c1baed04dac7493871ee5b2bf6240167debd67 | |
parent | teamwork: remove the feature since it's no longer supported in elm (diff) | |
download | terminology-3a28d9964970122cfe0dd7fc671ce68bb8026911.tar.gz |
termpty: fix inserting blank chars. Closes https://phab.enlightenment.org/T5802
-rw-r--r-- | src/bin/termptyesc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/termptyesc.c b/src/bin/termptyesc.c index ee63dfa..7e2370f 100644 --- a/src/bin/termptyesc.c +++ b/src/bin/termptyesc.c @@ -1007,7 +1007,7 @@ _handle_esc_csi(Termpty *ty, const Eina_Unicode *c, const Eina_Unicode *ce) break; case '@': // insert N blank chars arg = _csi_arg_get(&b); - TERMPTY_RESTRICT_FIELD(ty->cursor_state.cx, 1, ty->w * ty->h); + TERMPTY_RESTRICT_FIELD(arg, 1, ty->w * ty->h); DBG("insert %d blank chars", arg); { int pi = ty->termstate.insert; |