From 758d0774854c723eb4ba78d6202a7231b848a468 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Mon, 5 Aug 2019 19:41:54 -0400 Subject: Implement RI --- term.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/term.c b/term.c index 22eb621..bb5d195 100644 --- a/term.c +++ b/term.c @@ -116,6 +116,7 @@ static char updateNUL(wchar_t ch) { } enum C1 { + RI = 'M', CSI = '[', OSC = ']', ST = '\\', @@ -131,6 +132,15 @@ static char updateESC(wchar_t ch) { case '(': discard = true; return ESC; case '=': return NUL; case '>': return NUL; + + case RI: { + move( + cell(scroll.top + 1, 0), cell(scroll.top, 0), + cols * (scroll.bot - scroll.top) + ); + clear(cell(scroll.top, 0), cell(scroll.top, cols - 1)); + } + case CSI: return CSI; case OSC: return OSC; default: return unhandled("ESC %lc", ch); -- cgit 1.4.1 b right'>
summary refs log tree commit diff
path: root/.mpd (unfollow)
Commit message (Expand)Author
2013-11-09Remove instructions from READMEJune McEnroe
2013-11-09Fix NumberToggleJune McEnroe
2013-11-09Add Plugins commentJune McEnroe
2013-11-09Switch to vim-plugJune McEnroe
2013-11-09Add vim-easy-alignJune McEnroe
2013-11-09Remove unused plugin configurationsJune McEnroe
2013-11-03Update jellybeansJune McEnroe
2013-11-03Add bindings for CtrlPBufTag and CtrlPLineJune McEnroe
2013-11-03Update pluginsJune McEnroe
2013-11-03Remove unused pluginsJune McEnroe
2013-11-03Update jellybeansJune McEnroe
2013-11-03Switch to (customized) jellybeans colorschemeJune McEnroe
2013-11-03Disable Airline whitespace extensionJune McEnroe
2013-11-02Replace vim-gitgutter with vim-signifyJune McEnroe
2013-11-02Add tagbarJune McEnroe
2013-11-02Add AirlineJune McEnroe
2013-11-02Remove powerlineJune McEnroe
2013-11-02Rehash on reloadJune McEnroe
2013-11-02Remove git prompt from titleJune McEnroe
2013-11-02Update zsh syntax highlighting and configJune McEnroe
2013-10-31Fix host in prompt, part twoJune McEnroe
2013-10-31Fix host in promptJune McEnroe
2013-10-31Wow look reorganized zsh configJune McEnroe
2013-10-30Show hostname in prompt over SSHJune McEnroe
2013-10-30Only load chruby if it existsJune McEnroe
2013-10-27Add auto-title stuff to zshJune McEnroe
2013-10-26Add gvim alias to silence stderrJune McEnroe
2013-10-26Add home.programble.me functionJune McEnroe
2013-10-14Remove unused configsJune McEnroe
2013-10-14Add therefore, because, cards compose sequencesJune McEnroe
2013-10-14Global git ignore .swo filesJune McEnroe
2013-10-14Add Heroku to zshJune McEnroe
2013-09-23Add gst git stash aliasJune McEnroe
2013-09-06Disable some options in terminalsJune McEnroe
2013-09-05Only set colorscheme for gvimJune McEnroe
2013-09-05Remove pacman stuffJune McEnroe
2013-09-05Only alias hub if it existsJune McEnroe
2013-09-05chruby to ruby-2.0.0June McEnroe
2013-08-17Add vim-ragtagJune McEnroe
2013-08-14Add nvmJune McEnroe
2013-07-09Add title commandJune McEnroe
2013-06-09Use default client keysJune McEnroe
2013-06-09Run games in separate X serverJune McEnroe
2013-06-08Add game wrapper to kill/restart unclutterJune McEnroe
2013-06-08Update base16-vimJune McEnroe
2013-06-08Add git configJune McEnroe